How to Convert JPEG to PDF Without Adding Another Generation of Loss

TL;DR: JPEG is a lossy format, and every time a file is opened in an editor and saved again, quality drops a little. Converting JPEG to PDF is usually safe because the image is placed, not recompressed — but only if the tool embeds the original stream rather than re-encoding it. Knowing which happened tells you whether your second conversion damaged the photo.

The one question that decides everything

When a JPEG goes into a PDF, the tool does one of two things.

It embeds the original JPEG data as a stream inside the PDF. The pixels are byte-identical to the source. No quality is lost, and the PDF’s size is close to the JPEG’s size. This is what a good converter should do, and there is no API flag to verify it — the evidence is file size and sharpness.

It decodes the JPEG and re-encodes it at some quality setting, then embeds that. This is what happens when a tool resamples, resizes, or “optimises”. Each re-encode throws away information that cannot be recovered.

Both produce a PDF that looks fine at 100 percent zoom. The difference shows at 300 percent, or after the file has been through two or three more conversions. Generational loss is cumulative, and it is the reason a photo that was sharp in 2019 looks soft in 2026 after a decade of re-saving.

How to tell whether quality was lost

Three checks, in increasing order of effort.

  • File size. A 2.4 MB JPEG becoming a 240 KB PDF means the image was re-encoded and heavily compressed. Size can grow legitimately when the PDF adds fonts or other images, but a tenfold shrink is a re-encode.
  • Zoom in. Open both the JPEG and the PDF at 400 percent. Look at a high-contrast edge — text, a window frame, a hairline. Re-encoding shows as blocky 8×8 squares or a soft halo along the edge.
  • Text near the edge of legibility. Small text is the first casualty of JPEG compression. If a scanned receipt’s totals were readable in the JPEG and mushy in the PDF, quality was lost regardless of file size.

A quick practical rule: if the PDF is roughly the same size as the source JPEG, the original data was probably embedded. If it is dramatically smaller or dramatically larger, something happened.

When the JPEG is already degraded

Worth naming because it is common: the JPEG you are converting may already have been through several saves.

Symptoms of a multiply-saved JPEG: visible 8×8 blockiness in smooth areas such as skies or walls, coloured fringing around dark text, and a file that looks acceptable at thumbnail size and poor at full size. Saving it again at high quality does not restore anything; it only prevents further loss.

For such a file, converting to PDF is the right move precisely because a PDF can embed the damaged data once and stop the deterioration. Each subsequent save of a PDF does not recompress the embedded image, so the PDF becomes a stable container for a lossy source.

The corollary: avoid editing that JPEG in an image editor and saving it back as JPEG before converting. Edit once, save once, convert.

Choosing the quality setting

If your tool does re-encode, the quality slider is a trade between size and artifacts. The useful range is narrower than the slider suggests.

  • Above 90 — visually indistinguishable from the source for photographs. File size grows quickly for little gain.
  • 80 to 90 — the practical setting for documents and photographs alike. Most people cannot identify the difference at reading size.
  • 70 to 80 — acceptable for large photographs viewed on screen; visible artifacts on text and line art.
  • Below 70 — visible blocking and colour shifts. Only appropriate when size is the overriding constraint.

For scanned documents containing text, JPEG is a poor choice at any setting below about 85, because text edges are exactly what compression destroys. If the source is a text scan, PNG or a lossless path is better despite the larger file.

Resolution: the setting that matters more than quality

More conversions are ruined by wrong resolution than by wrong quality. A JPEG at 4000 pixels wide placed on an A4 page prints at about 480 DPI — more than enough, and wasteful. The same image resampled to 2480 pixels prints at 300 DPI and is a fraction of the size.

Conversely, a 600-pixel-wide JPEG stretched to fill an A4 page prints at about 72 DPI and looks soft no matter how high the quality setting.

The threshold worth memorising: 2480 × 3508 pixels for a full A4 page at 300 DPI. Scale proportionally for other page sizes and other DPI targets. Below about 1500 pixels wide for a full page, text starts to fail.

When JPEG is the wrong choice entirely

Three cases where a different source format would have served better, and it is worth knowing before the next conversion.

Line art and diagrams. Sharp edges and flat colours are JPEG’s worst case. PNG or vector artwork produces a cleaner PDF at a smaller size.

Anything with transparency. JPEG has no alpha channel. A logo saved as JPEG arrives with a white box around it, and no amount of conversion fixes that.

Text documents that will be printed. A JPEG of a text page is a photograph of text. If the original exists in any text format, use it — the difference in print quality is substantial and immediate.

There is also a destination question worth flagging. If the file is being converted to PDF only so it can be sent somewhere, check whether the destination accepts images directly. Many portals and messaging apps prefer them, and a PDF step is an unnecessary generation. For going the other way — from a finished PDF back to a clean image — the high-quality PDF to image converter renders pages without adding compression to what is already there.

The short version

Convert JPEG to PDF with a tool that embeds the original data, check file size as the tell, and avoid editing the JPEG again afterwards. If your tool re-encodes, stay at quality 85 or above and control resolution deliberately — 2480 pixels wide is the A4 300 DPI threshold.