Pre-launch — all tools live, free with no limits.

JPG to PDF: Image Formats, Quality, and Mistakes to Avoid

What actually happens when you convert JPG to PDF, why the wrong tool ruins quality, and the right approach for receipts, scans, and photos.

JPG to PDF: Image Formats, Quality, and the Mistakes to Avoid

The “convert JPG to PDF” task sounds trivial. It isn’t. Done wrong, you lose 30-50% of image quality through unnecessary re-encoding. Done right, the resulting PDF contains the original image bytes unchanged — meaning the JPG-inside-the-PDF is bit-identical to your input.

This guide is about the technical realities of image-to-PDF conversion: what actually happens at the byte level, why some tools ruin quality and others don’t, and how to convert different image types (JPG, PNG, HEIC, scanned photos) cleanly.

What happens during JPG-to-PDF conversion

A PDF is structurally a container that can hold images natively. The conversion process is, in principle, simple:

  1. Read the JPG file’s bytes
  2. Wrap them in a PDF object with appropriate metadata (dimensions, color space, DPI)
  3. Reference that object from a page object
  4. Write out the resulting PDF

Done correctly, the JPG bytes inside the PDF are identical to your original JPG. No re-encoding, no quality loss, no resolution change. The PDF is just a different container around the same image data.

Done incorrectly — and many tools do it incorrectly — the conversion involves:

  1. Decode the JPG to raw RGB pixels
  2. Re-encode the pixels as a new JPG inside the PDF, often at the tool’s default quality setting (typically Q75 or Q85)
  3. Wrap and write

This produces a quality loss roughly equivalent to one extra round of JPG compression — visible if you zoom in, sometimes visible at normal viewing.

How to tell which tool is which

Two quick tests:

Compare file sizes. A clean conversion produces a PDF whose size is approximately the original JPG size plus 1-3 KB of PDF overhead. If your converter turns a 5 MB JPG into a 3 MB PDF, it’s re-encoding (and losing quality). If it produces a 5.001 MB PDF, the bytes are likely preserved.

Extract the image from the resulting PDF and compare to the original. Tools like pdfimages (part of Poppler) extract embedded images from PDFs as separate files. If the extracted image is byte-identical to your input JPG, the conversion was clean.

pdfmundo’s JPG to PDF tool does the clean conversion — your JPG bytes are wrapped, not re-encoded. The resulting PDF embeds the original image without quality loss.

Image format compatibility: what converts cleanly

Not all image formats are equally PDF-friendly. The PDF specification supports certain formats natively (no conversion required) and requires re-encoding for others.

Source formatPDF embeds natively?Quality preserved?
JPEG / JPGYes (DCTDecode)Bit-identical
JPEG 2000Yes (JPXDecode)Bit-identical
PNG (with alpha)Yes (FlateDecode)Bit-identical
PNG (palette)Mostly yesUsually bit-identical
HEIC / HEIFNo — requires conversion to JPEG or PNGQuality loss in conversion step
WebPNo — requires conversionQuality loss in conversion step
TIFF (uncompressed)Yes (FlateDecode)Bit-identical
TIFF (LZW)Yes (LZWDecode)Bit-identical
TIFF (JPEG-compressed)Yes (DCTDecode)Bit-identical
BMPNo — requires conversionLossless but verbose; usually re-encoded as PNG
GIFMostly yesUsually bit-identical, sometimes re-encoded

For HEIC (the format iPhones use by default since iOS 11), there’s no way to embed natively in PDF — the format isn’t part of the PDF specification. Any HEIC-to-PDF conversion involves a re-encoding step. To minimize loss, convert HEIC → high-quality JPEG (Q95 or higher) → PDF, rather than letting the tool do this with low-quality defaults.

DPI, page size, and how images get sized in PDFs

When you convert a JPG to PDF, the tool has to decide how big the image should be on the PDF page. This is where most tools get sloppy.

Three approaches, ranked from worst to best:

Worst: fixed page size, image scaled to fit. Tool sets every page to A4 or Letter, scales the image to fit. Square photos end up with white margins; landscape photos either letterbox or get cropped. Looks unprofessional.

Better: page size derived from image dimensions and a fixed DPI. Tool reads the image’s pixel dimensions and assumes a DPI (often 72 or 96), calculating page size from there. A 2400×3200 pixel image at 96 DPI becomes a 25 × 33.3 inch page — too big to print on standard paper.

Best: page size derived from image’s embedded DPI metadata. Tool reads the image’s DPI from EXIF/JFIF metadata (most modern cameras and scanners include it) and produces a PDF page sized correctly for that DPI. A 2400×3200 photo from a 300 DPI scan becomes an 8 × 10.67 inch page — printable on Letter or A4.

For scanned documents this matters enormously. A scanner typically tags scans at 300 DPI; using that metadata produces a printable PDF. Ignoring it produces a PDF too big to print.

pdfmundo’s tool reads image DPI metadata and offers three page-sizing modes: native size (from DPI), fit to A4, and fit to Letter.

Common workflows

Receipts for expense reports

Phones save photos as HEIC by default on iOS, JPG on Android. Both convert cleanly to PDF.

The right flow:

  1. Photograph receipts in good light, with the receipt flat
  2. Crop tightly in your phone’s photo app (most expense systems deduct points for unnecessary background)
  3. Convert each photo to PDF
  4. Merge the receipt PDFs into one expense bundle (per period or per report)
  5. Submit

For dozens of receipts, batch conversion is faster: select all photos at once, the tool produces one PDF with one page per image.

Scanning paper documents with a phone

Phone scanning apps (built into iOS Files app, Google Drive, dedicated apps like Adobe Scan) typically export PDF directly. If you’ve ended up with JPG scans instead, convert to PDF for archival — PDF is the universal document format and JPG isn’t.

For multi-page scans:

  1. Capture each page as a separate JPG
  2. Order them correctly in your file system (sortable filenames help: page-01.jpg, page-02.jpg…)
  3. Convert all to one multi-page PDF
  4. If text-heavy, run OCR to make the PDF searchable

Converting Apple HEIC photos

HEIC offers ~50% better compression than JPG at equivalent quality, but isn’t natively supported in PDF. Conversion involves a HEIC → JPG transcode step.

Two approaches:

  • Convert in your phone’s Photos app first (export as JPG with high quality), then JPG → PDF using a clean tool
  • Use a tool that does HEIC → PDF directly (handles the transcode internally, usually at Q90+ for minimal loss)

For archival or print, the first approach gives more control over the transcode quality.

How to convert in your browser

pdfmundo’s JPG to PDF tool handles JPG, PNG, HEIC, WebP, and most common image formats. Processing happens in your browser — images aren’t uploaded.

  1. Open the JPG to PDF tool
  2. Drop one or more images
  3. Drag thumbnails to set page order
  4. Pick page sizing: native (from DPI), fit to A4, fit to Letter
  5. Pick orientation: auto, portrait, landscape
  6. Click “Convert”
  7. Download the PDF

For multiple images, all become pages of one combined PDF in the order you arranged.

FAQ

Will the PDF be searchable? No. Image-based PDFs aren’t searchable until you run OCR. If you need searchable text, run OCR on the resulting PDF.

Can I convert HEIC photos directly? Yes — most modern browsers support HEIC decoding. The tool handles the HEIC → embedded format step internally.

Why is my PDF much larger than the original JPG? Usually because the tool re-encoded the image instead of embedding it cleanly. A clean JPG-to-PDF conversion produces a file ~1-3 KB larger than the input. Significantly larger output suggests re-encoding.

Why is my PDF page sized wrong? The tool either ignored the image’s DPI metadata or used a default DPI (often 72). Use a tool that reads embedded DPI, or specify a target page size manually.

Can I add multiple photos to one PDF page? Some tools support multi-image-per-page layouts (collage mode). Most produce one image per page. For multi-image layouts, generate the layout in a design tool first, then export as PDF.


Convert your images now →

Last updated: May 2026.