Image to PDF
Convert JPG, PNG, and other images into a PDF. Choose page size, orientation, margins, and image fit.
How to Use
Upload image files
Add JPG, PNG, WebP, or GIF files. Multiple images each become one page in the output PDF.
Choose page size and orientation
Select A4, Letter, or other paper size and Portrait or Landscape orientation.
Set image fit mode
Choose Fit, Fill, or Original Size to control how the image is placed on each PDF page.
Convert and download PDF
Click 'Convert to PDF' and download the resulting document with each image as a separate page.
Vector Page Geometry and Raster Encoding in Image-to-PDF Conversion
Converting raster image files (JPEG, PNG, WebP) into structured Portable Document Format (PDF) files is essential across legal discovery, insurance claim submissions, real estate transactions, and administrative archiving. Because PDF is a vector-based page description language rather than a flat bitmap, embedding images requires careful coordinate transformation and compression stream management.
ISO 216 Paper Sizes vs. North American Architectural Geometry
A PDF document does not measure dimensions in physical pixels; it measures geometry using User Space Points, where $1 ext{ point} = 1/72 ext{ of an inch}$:
| Standard Paper Format | Physical Dimensions (mm / inches) | PDF Point Dimensions (72 DPI) | Global Adoption & Use Case |
|---|---|---|---|
| ISO A4 | 210 × 297 mm (8.27 × 11.69 in) | 595.28 × 841.89 pt | International standard in Europe, Asia, Latin America, Australia. |
| US Letter | 215.9 × 279.4 mm (8.5 × 11.0 in) | 612.00 × 792.00 pt | Standard corporate format in USA, Canada, Mexico. |
| US Legal | 215.9 × 355.6 mm (8.5 × 14.0 in) | 612.00 × 1008.00 pt | Court records, loan mortgages, government real estate contracts. |
Image Fitting Modes: Contain (Fit) vs. Cover (Fill)
When translating an image of arbitrary aspect ratio (e.g., a 16:9 smartphone photo or 3:2 DSLR camera capture) into a fixed paper rectangle (like A4 or US Letter), our converter implements three mathematical scaling models:
- Fit (Contain): Scales the image proportionally until either its width reaches the page margin or its height touches the top/bottom boundary. The entire image is preserved without cropping, with balanced white margins on the sides.
- Fill (Cover): Scales the image to completely cover the page area from edge to edge. The aspect ratio is preserved, but areas exceeding the page boundaries are cropped.
- Original Resolution: Maps raw image pixel dimensions directly into PDF points at standard 72 DPI or high-resolution 300 DPI print scale.
Zero-Server In-Browser Privacy Protection
Uploading sensitive receipts, government tax returns, passports, or medical diagnostic scans to cloud converter services poses grave data interception and leakage risks. ConvertWithMi compiles your images into a PDF using client-side JavaScript (jsPDF) running entirely in your browser memory. Your files are never uploaded to remote servers.
Real-World Examples & Use Cases
Scanning Documents with a Phone Camera
Smartphone camera apps and scanning apps capture documents as JPEG images. Converting those images to PDF produces a standard document format for sharing and filing. A small business owner photographing receipts, contracts, or invoices with a smartphone needs to convert those JPEGs to PDF to email them to an accountant or store them in a document management system. The PDF format preserves the image quality, adds standard document metadata, and produces a file that can be opened by PDF readers on any platform including email clients and operating systems.
Artwork and Photography Portfolio Creation
Visual artists, photographers, and designers compile image collections into PDF portfolios for sharing with clients, galleries, and employers. A photographer converting a series of portfolio images to PDF creates a single, self-contained presentation file that displays consistently across all devices and email clients without requiring the viewer to have specific image viewing software. Each page of the PDF contains one image, and the PDF itself is shareable as a single file without a ZIP archive or file folder structure.
Company ID and Document Verification Submissions
Government agencies, banks, universities, and HR departments often require identity documents and supporting materials submitted as PDFs. Passport photos, driver's license scans, utility bill photos, and bank statement images captured with a phone must be converted to PDF for formal submission forms. Many submission portals accept only PDF files and reject raw image files. Converting images to PDF meets format requirements without needing desktop software or third-party apps.
Product Manuals and Technical Documentation
Technical writers and product managers create instruction documents that consist primarily of annotated screenshots, photographs of hardware, and diagrams. Capturing these visual elements as PNG images and converting them to PDF produces print-ready documentation. Product photography processed in photo editing software and exported as JPEG files can be assembled into a multi-page product catalog PDF by uploading images in sequence. The resulting PDF is print-ready and maintains image quality better than embedding images in word processor documents.
How It Works
Image to PDF conversion using jsPDF: Core workflow: 1. Load image via FileReader.readAsDataURL() 2. Create Image element to get natural dimensions 3. Initialize jsPDF: const doc = new jsPDF({ orientation, unit: 'mm', format: pageSize }); 4. Calculate image placement: Page dimensions (A4): 210mm × 297mm Available area (with margins): e.g. 190mm × 277mm Fit mode: scale = Math.min(availWidth/imgW, availHeight/imgH) x = (pageW - imgW×scale) / 2 (center horizontally) y = (pageH - imgH×scale) / 2 (center vertically) Fill mode: scale = Math.max(availWidth/imgW, availHeight/imgH) 5. Add image to page: doc.addImage(dataUrl, format, x, y, width×scale, height×scale) 6. For multiple images, add pages: doc.addPage(); before each subsequent image 7. Save: doc.save('output.pdf') Common paper sizes: - A4: 210 × 297 mm (international standard) - Letter: 215.9 × 279.4 mm (US/Canada) - Legal: 215.9 × 355.6 mm - A3: 297 × 420 mm
Frequently Asked Questions
How many images can I convert into a single PDF?▼
What image dimensions should I use for standard paper sizes?▼
Will the PDF look blurry if my images are low resolution?▼
Can I control the order of pages in the multi-image PDF?▼
Is the resulting PDF text-searchable?▼
Related Tools
Explore other tools in this category.
PDF Merger
Merge multiple PDF files into one. Drag, drop, reorder, and download � everything runs in your browser.
PDF Metadata Viewer
Inspect any PDF file: view page count, dimensions, author, title, creation date and more � locally.
PDF Splitter
Extract specific pages from a PDF or split it into individual one-page files. Runs entirely in your browser.
PDF to Images
Convert each PDF page into a PNG or JPEG image.
PDF Password Remover
Remove password protection from your PDF files. Enter the known password and download an unlocked copy.
PDF to Text Extractor
Extract all raw text data from your PDF documents completely securely.