How to Convert Images to PDF — Complete Guide

Need to turn photos or scans into a PDF document? Learn how to convert single or multiple images to PDF with proper page sizing, quality settings, and organization — all for free in your browser.

Why Convert Images to PDF?

PDFs are the universal format for sharing documents. Unlike loose image files, a PDF packages your visuals into a single, paginated, print-ready document that looks identical on every device. Whether you're scanning receipts, creating photo portfolios, digitizing hand-written notes, or packaging design proofs, converting images to PDF is the professional way to organize and share visual content.

This guide covers everything from basic single-image conversion to advanced batch workflows — including page sizing, DPI settings, orientation control, and compression — so your PDFs look exactly the way you want them.

ℹ️

Converting images to PDF doesn't re-encode your images by default. Most tools embed the original image data directly into the PDF container, preserving full quality unless you explicitly apply compression.

Single Image vs. Batch Conversion

Single Image Conversion

Converting a single image to PDF is straightforward: select the image, choose your page settings, and export. This is ideal for quick tasks like converting a scanned document, creating a printable photo, or sending a signed form.

Batch Conversion (Multiple Images)

Batch conversion combines multiple images into a single multi-page PDF. Each image becomes its own page, making this perfect for:

  • Photo albums and portfolios
  • Multi-page scanned documents
  • Presentation slides exported as images
  • Receipt and invoice collections
  • Comic or manga chapter compilations
💡

When doing batch conversion, name your files with numerical prefixes (01-intro.jpg, 02-chapter1.jpg, etc.) so they sort in the correct order automatically. Most tools sort files alphabetically by default.

Page Sizing: Getting It Right

The page size setting determines how your image maps onto the PDF page. Choosing the wrong size leads to cropped images, unwanted white borders, or distorted aspect ratios.

Page SizeDimensions (mm)Dimensions (inches)Best For
A4210 × 2978.27 × 11.69International standard, documents, forms
US Letter215.9 × 279.48.5 × 11US standard, office documents
A3297 × 42011.69 × 16.54Posters, large format prints
A5148 × 2105.83 × 8.27Booklets, flyers, small prints
Fit to ImageVariesVariesNo cropping or borders — page matches image exactly

Fitting Options

When your image's aspect ratio doesn't match the page size, you have three choices:

  • Fit inside (contain) — The image scales to fit entirely within the page. White space (margins) may appear on two sides. No cropping occurs.
  • Fill page (cover) — The image scales to fill the entire page. Parts of the image may be cropped on two sides. No white space.
  • Stretch to fit — The image is stretched to exactly match the page dimensions. This distorts the aspect ratio and is generally not recommended.

Understanding DPI and Quality

DPI (dots per inch) determines how many pixels of your image are packed into each inch of the PDF page. Higher DPI means sharper output but doesn't change the underlying image data — it simply controls the print/display size.

DPIQuality LevelUse Case
72 DPIScreen onlyWeb viewing, email attachments, quick shares
150 DPIDraft printInternal documents, draft proofs, home printing
300 DPIHigh-quality printProfessional printing, portfolios, client deliverables
600 DPIUltra-highFine art reproduction, detailed technical drawings
⚠️

Setting a high DPI doesn't magically add detail to a low-resolution image. A 640×480 image at 300 DPI will print at only 2.1 × 1.6 inches. For full-page 300 DPI prints, you need source images of at least 2550 × 3300 pixels (US Letter).

Calculating Print Size

The formula is simple: Print size (inches) = Pixel dimensions ÷ DPI.

// Calculate print dimensions
const imageWidth = 3000;  // pixels
const imageHeight = 2000; // pixels
const dpi = 300;

const printWidth = imageWidth / dpi;   // 10 inches
const printHeight = imageHeight / dpi; // 6.67 inches

Image Orientation and Rotation

Mismatched orientation is one of the most common issues in image-to-PDF conversion. A landscape photo placed on a portrait page (or vice versa) wastes space and looks unprofessional.

Auto-Rotation

Smart conversion tools detect each image's orientation and automatically rotate the PDF page to match. A landscape image gets a landscape page, and a portrait image gets a portrait page — even within the same multi-page document.

EXIF Orientation

Photos from smartphones often appear correctly oriented on screen but contain EXIF metadata that flags a rotation. Some conversion tools read EXIF orientation data; others don't. If your images appear sideways or upside-down in the PDF, look for an option to "apply EXIF rotation" or pre-rotate your images before converting.

1

Check Your Images

Open each image in a viewer and confirm it displays correctly. If an image appears rotated, fix it before conversion.

2

Choose Page Orientation

Select "Auto" orientation if available, or manually set portrait/landscape for each page. Auto mode is almost always the right choice for mixed-orientation batches.

3

Preview Before Exporting

Always preview the final PDF before downloading. Check that all pages are oriented correctly, images aren't cropped unexpectedly, and the page order is right.

Compression in PDFs

PDF supports several internal compression methods for embedded images. Understanding these helps you balance file size against quality.

  • No compression (raw embed) — The original image bytes are placed directly into the PDF. Maximum quality, maximum file size.
  • JPEG compression — Applies lossy JPEG compression to embedded images. Quality setting of 85 typically reduces size by 50–70% with minimal visible degradation.
  • Flate/ZIP compression — Lossless compression that works well for screenshots and graphics with flat colors. Typically saves 10–30%.
  • JPEG2000 compression — Better quality-to-size ratio than JPEG but slower to encode and less widely supported.
💡

For email-friendly PDFs, apply JPEG compression at quality 80–85. For archival or print PDFs, use no compression or lossless Flate compression to preserve maximum image quality.

Common Pitfalls and How to Avoid Them

Blurry Output

If your PDF looks blurry when printed, the source images are too low resolution for the chosen page size and DPI. Either use higher-resolution images or reduce the page size so each image covers a smaller print area at the same DPI.

Massive File Sizes

A 50-page PDF with uncompressed 10 MB images can easily reach 500 MB. Always apply appropriate compression for your use case. For screen-only PDFs, JPEG at quality 75 dramatically reduces file size without visible quality loss on displays.

Color Shifts

PDFs support multiple color spaces (sRGB, CMYK, Adobe RGB). If colors look different in the PDF versus the original image, check that color profiles are embedded correctly. For web and screen viewing, sRGB is the standard. For professional printing, CMYK conversion may be necessary.

Transparency Handling

PNG images with transparent backgrounds will render with white (or sometimes black) backgrounds in PDF unless the tool specifically preserves transparency. If your images rely on transparency, test with a small batch first to verify behavior.

Conclusion

Converting images to PDF is simple in concept but nuanced in execution. The key decisions — page size, DPI, orientation, and compression — directly impact whether your final document looks professional or amateurish. By understanding these settings and using a quality conversion tool, you can produce polished, properly formatted PDFs from any collection of images.

Browser-based tools are ideal for quick conversions because they require no installation, work on any device, and keep your files private. For recurring workflows, consider setting up a template with your preferred settings so every conversion is consistent.

🎯 Key Takeaways

  • Use "Fit to Image" page sizing to avoid cropping and white borders; use A4/Letter for print-ready documents
  • 300 DPI is the standard for high-quality prints; 72 DPI is sufficient for screen-only viewing
  • Print size = Pixel dimensions ÷ DPI — ensure your source images have enough resolution
  • Enable auto-rotation and EXIF orientation for mixed landscape/portrait batches
  • Apply JPEG compression at quality 80–85 for email-friendly sizes; use lossless for archival
  • Always preview multi-page PDFs before downloading to catch orientation and ordering issues
← Retour au Blog