JPG or PNG for a PDF: pick by what is in the picture
By the getPDF team · Published 11 October 2026
The short answer
Use JPG for photographs and PNG for anything with text, lines or flat colour: screenshots, scanned forms, charts, logos. A photo as PNG is many times bigger and looks the same; a screenshot as JPG saves about a third and gets faint smudges round every letter. Do not convert between them first, because neither direction makes the picture better. JPG to PDF keeps whatever you give it as it is, so the choice is made before you convert.
Convert with the format you have
Try it here, nothing is uploaded
The tool takes both, mixed in 1 batch, plus HEIC, WebP, AVIF, TIFF, GIF and BMP. It runs on your device, so nothing is uploaded.
The rule, and why it holds
The 2 formats compress in opposite ways:
- JPG throws away fine detail the eye does not notice in a photo: tiny colour steps in skin, sky or foliage. On a photo that saves a lot. On a sharp black letter on white, the thrown-away detail is exactly the edge, and what is left shows as a grey halo or speckles round the letter.
- PNG keeps every pixel and saves space by finding repeats. A screenshot is mostly runs of identical pixels (white background, flat bubbles), so it packs small. A photo has almost no exact repeats, so the PNG stays big.
The numbers: 2 test images, both formats
We saved 2 images both ways and made a PDF of each with getPDF on 11 October 2026. The photo is a 4032 by 3024 pixel crop (12 megapixels, a phone camera’s size) of a landscape photo; the screenshot is a 1080 by 2340 pixel test picture of a chat, a phone screen’s size. “Pixels changed” counts how many pixels differ from the original by more than 16 of 255 brightness levels.
| Image | Saved as | File | PDF made from it | Pixels changed |
|---|---|---|---|---|
| Photo, 12 MP | PNG | 4.8 MB | 3.4 MB | 0 (lossless) |
| Photo, 12 MP | JPG, quality 92 | 619 KB | 620 KB | 0.02 % |
| Photo, 12 MP | that JPG re-saved as PNG | 5.1 MB | 0.02 %, the same as the JPG | |
| Chat screenshot | PNG | 156 KB | 158 KB | 0 (lossless) |
| Chat screenshot | JPG, quality 92 | 145 KB | 0.20 % | |
| Chat screenshot | JPG, quality 80 | 106 KB | 107 KB | 0.57 % |
What the table says:
- For the photo, JPG wins outright. The PNG is 8 times the size, and the JPG’s changes touch 2 pixels in 10,000. Our test photo is a smooth landscape that packs well; a typical 12 MP phone photo at quality 92 is about 3 MB, but the gap to PNG stays large.
- For the screenshot, PNG costs little. At quality 80 the JPG saves a third (156 KB to 106 KB), and the 0.57 % of changed pixels are the ones round the letters and bubble edges. On a phone screen you will not see it. Zoomed to 400 % or printed, the letters have a soft grey fringe.
- A PDF from a PNG can be smaller than the PNG. getPDF re-packs the pixels with the compression PDF uses, losslessly; for the photo that took 4.8 MB down to 3.4 MB. A JPG goes in as it is, plus a few hundred bytes.
Which one, by what is in the picture
| What is in the picture | Use | Why |
|---|---|---|
| Photos of people, places, things | JPG | invisible loss, a fraction of the size |
| Phone or computer screenshots | PNG | text stays crisp; most screenshots are saved as PNG already |
| A photo of a document | JPG | it is a photo of paper; for a cleaner result use a scanner app |
| Scanned forms, contracts, receipts | PNG or the scanner’s own PDF | sharp text, and OCR reads it more easily |
| Logos, diagrams, charts | PNG | flat colour and hard edges; transparency is kept |
| Anything with see-through parts | PNG | JPG has no transparency; getPDF keeps a PNG’s as a soft mask |
Do not convert between them first
- JPG to PNG makes it bigger, not better. The detail the JPG dropped is gone. Our 619 KB JPG became a 5.1 MB PNG with exactly the same pixels.
- PNG to JPG smudges it for good. Once a screenshot has been through JPG, its letters keep the fringe, whatever you do later.
- JPG to JPG costs a little each time. Every re-save compresses again. Feed the converter the file the camera or the screenshot key made.
This is why getPDF does not re-encode on the way in: a baseline JPG’s picture data is copied unchanged (the camera details, GPS position, device and time, are left out), and a PNG is stored losslessly. The result card says which happened (“1 JPEG embedded as it is, no re-encoding” or “1 picture stored losslessly”).
The other formats
- HEIC (iPhone photos): PDF cannot hold it, so getPDF decodes it on your device and writes it as JPEG at quality 90.
- WebP and AVIF: often small lossy files from the web. Your browser decodes them; a photo is then written as JPEG at quality 90, the way HEIC is, so the page stays near the picture’s size (somewhat larger, because WebP and AVIF pack tighter than JPEG). A graphic with few colours or a transparent picture is stored losslessly, like a PNG.
- TIFF: stored losslessly; a black-and-white scan at 1 bit per pixel, which is very small.
The honest part
- Usually the choice is already made. The camera saves JPG (or HEIC), the screenshot key usually saves PNG, and both are the right format for their content. This guide matters when you export, save from an app, or are tempted to re-save.
- A small PDF is a compression job, not a format job. To shrink a PDF of photos for email, Compress PDF re-encodes the photos at a screen resolution and shows the size before and after; that saves far more than switching formats. Why a photo PDF is too big has the numbers.
- Neither format makes the text searchable. A picture of text is a picture in either format. OCR adds a text layer, and its result is approximate.
For every other picture question, see pictures to PDF.
Questions
Is PNG better quality than JPG in a PDF?
PNG is lossless, so it keeps every pixel; JPG drops detail the eye barely sees. For a photo the difference is invisible and the PNG is many times bigger. For text and sharp edges PNG is cleaner, at a modest cost in size.
Should I convert my JPG photos to PNG before making a PDF?
No. The detail a JPG dropped is gone, and PNG cannot bring it back. In our test the PNG copy of a 619 KB JPG was 5.1 MB and not 1 pixel sharper.
Does getPDF change my JPG or PNG when it makes the PDF?
No. A baseline JPG's picture data is copied in unchanged, without the camera details; a PNG is stored losslessly, transparency included. So the format you feed in is the quality you get out.
What about HEIC and WebP?
PDF cannot hold HEIC, WebP or AVIF, so they are decoded first. A HEIC photo, and a WebP or AVIF photo without transparency, is written as JPEG at quality 90. A WebP or AVIF graphic or transparent picture, and GIF and BMP, are stored losslessly, like a PNG.
The tools for this job
Keep reading
- Image to PDF without losing quality: what actually touches your pixelsA JPG placed in a PDF can keep its exact bytes, so no quality is lost.
- Transparent PNG to PDF: what happens to the clear backgroundPDF supports PNG transparency, so a logo can keep its clear background.
- Screenshots to PDF: one clean file from many captures, text still sharpTurn screenshots into one PDF that reads like a document: right order, matching page size, text still sharp because PNG stays lossless.
- Pictures to PDF: every format, in the order you wantTurn pictures into a PDF: JPG, PNG, HEIC and WebP, in the order you choose, on A4, Letter or the image's own size.
- PDF made from photos is too big: shrink it, and avoid it next timeA PDF from phone photos is huge because each photo keeps its full 12 MP.
- PDF file sizes in KB and MB, explained with real filesKB, MB and bytes for PDF limits in plain words: 1 MB is 1,000 or 1,024 KB depending on who counts.
- Save text messages as a PDF: ordered, dated and completeTurn chat screenshots into 1 PDF that reads as a record: full screens with dates, overlapping captures, page numbers.