Whether you're submitting a set of scanned receipts for reimbursement, creating a photo portfolio, combining screenshots into a single document, or building a presentation from exported charts, converting images to PDF is a task that comes up constantly. This guide walks through every method — from simple one-click conversion to advanced batch processing with page sizing and margin control.
| Format | Extension | Notes |
|---|---|---|
| JPEG | .jpg, .jpeg | Most common. Lossy compression. Best for photographs. |
| PNG | .png | Lossless. Best for screenshots, text, charts with sharp edges. |
| WEBP | .webp | Modern format. Smaller files than JPEG at similar quality. Supported by Chrome, Firefox, Edge. |
| GIF | .gif | Supports animation but PDFs are static — only the first frame is used. |
| BMP | .bmp | Uncompressed. Very large files. Converts well to PDF. |
| TIFF | .tiff, .tif | Common in scanning and medical imaging. Supports multi-page. |
When converting images to PDF, you need to decide how images map to pages:
Each image is placed on a page sized to match the image's dimensions. A 1920×1080 image becomes a landscape page of the same aspect ratio. Best for: portfolios, photo collections, presentations.
Each image is scaled to fit within an A4 page. This is the standard paper size in most of the world. Best for: documents that will be printed on A4 paper, European and Asian submissions.
Each image is scaled to fit within a US Letter page. Best for: US-based documents, academic submissions, business correspondence.
Longer than Letter. Used for legal documents and contracts in the US.
# Using img2pdf (Python, produces small files — no re-encoding)
pip install img2pdf
img2pdf image1.jpg image2.png image3.jpg -o output.pdf
# Using ImageMagick
convert image1.jpg image2.png output.pdf
# Using Ghostscript
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf image1.jpg image2.png
img2pdf copies image data directly into the PDF without re-encoding. This produces the smallest file and preserves exact image quality. ImageMagick and Ghostscript may re-encode images, which can slightly reduce quality or increase file size. For the best results, use img2pdf or a browser-based tool that doesn't re-encode.
A common concern: does converting an image to PDF reduce its quality? The answer depends on the tool:
img2pdf and our Images to PDF tool embed the original image data directly into the PDF. Quality is 100% preserved. File size increases slightly (PDF container overhead), but no image data is lost.Always verify the output by comparing a detail crop of the original image with the PDF version. If quality matters, choose a tool that performs direct embedding.
When converting dozens or hundreds of images:
001-cover.jpg, 002-intro.png. Most tools sort alphabetically.Converting images to PDF is a simple operation, but getting the best results requires choosing the right page size, maintaining image quality, and using a tool that doesn't unnecessarily re-encode your images. For most users, a browser-based tool offers the best balance of convenience, quality, and privacy — your images never leave your device.
Convert your images to PDF — free, private, instant
Images to PDF Now