Skip to tool
ecech.
🖼️ Image & Photo Tools

A PDF Has No Pixels, Only Points at 72 to the Inch

The JPEG goes in unchanged and the page has a physical size. Which means the DPI is decided by how large you place it, not by the file.

Image

 

Placed at

Effective DPI

300 is print quality

PDF size

Page preview

What is inside the file

Advertisement

How the calculation works

Five objects and a table of offsets 1 Catalog the root 2 Pages the page tree 3 Page size in points 4 Contents draw the image 5 XObject the JPEG, unchanged xref — the byte offset of every object above Change one byte early in the file and every later offset is wrong. Which is why you cannot merge PDFs by concatenating them.

How to Use This Tool

Choose an image and download the PDF. Nothing is uploaded — the file is assembled byte by byte in your browser.

A PDF has no pixels

This is the part that catches people. A PDF page is measured in points, at 72 to the inch, and an image is placed into a rectangle of that page. The image's own pixel dimensions do not appear anywhere as a size — only as a resolution.

So the effective DPI is a property of the placement:

DPI = image pixels ÷ placed size in inches

A 2,480-pixel-wide image across the full width of an A4 page (8.27 inches) is 300 DPI, which is print quality. The same image placed across an A3 page is 212 DPI, which is noticeably softer. Nothing about the file changed.

The panel above shows the figure for your image and page. Roughly: 300 or above is print quality, 150 is acceptable for a document, and below 100 will look soft in print while still being fine on a screen.

The JPEG goes in unchanged

PDF supports the DCTDecode filter, which means a JPEG can be embedded exactly as it is — the compressed bytes are copied straight in. No decoding, no re-encoding, no additional quality loss, and the PDF ends up about the same size as the original file.

PNGs are different. PDF cannot embed PNG data directly, so a PNG must be decoded and re-encoded. This tool converts it to JPEG at the quality you choose, which means:

  • Transparency is lost, because JPEG has no alpha channel. It is flattened onto white.
  • Screenshots and line art suffer, since JPEG produces fringing around sharp edges. A PNG of a document is often better kept as a PNG.
A 2,480-pixel-wide image, three pages across A5 — 5.83 in 425 DPI across A4 — 8.27 in 300 DPI across A3 — 11.69 in 212 DPI Same file. DPI is a property of where you put it.
Which is why "what DPI is this PDF" has no answer until you say how large it is printed.

Why PDFs cannot be concatenated

After the objects comes a cross-reference table listing the exact byte offset of each one, and a trailer pointing at that table. A reader uses the table to jump straight to any object without scanning the file.

It also means the offsets are only valid for the exact bytes in front of them. Insert anything, or join two files, and every offset after the change is wrong — which is why merging PDFs requires rewriting the structure rather than appending, and why a truncated download usually will not open at all.

A scan is not a document

A PDF containing a photograph of a page has no text in it. You cannot search it, select from it, or read it with a screen reader, because as far as the format is concerned it is a picture.

Making it searchable requires optical character recognition, which recognises the characters and adds an invisible text layer behind the image. That is a separate operation and not something this does. If the original is available as text, converting from that will always produce a smaller, searchable and more accessible file.

Advertisement

Frequently Asked Questions

Does converting an image to PDF reduce its quality?
Not for a JPEG. PDF can embed JPEG data directly with the DCTDecode filter, so the original compressed bytes are copied in unchanged. A PNG must be re-encoded because PDF cannot embed PNG data, and that does cost quality.
What DPI will my PDF be?
It depends on how large the image is placed, not on the file. Divide the image's pixel width by the placed width in inches — a 2,480-pixel image across A4's 8.27 inches is 300 DPI, and the same image across A3 is 212.
Why does my PDF look blurry when printed?
Because the effective DPI is too low for print. Below about 150 an image looks soft on paper while still looking fine on screen, since a screen shows far fewer dots per inch. Either use a larger image or place it smaller.
Is the text in my scanned PDF searchable?
No. A PDF containing a photograph of a page has no text in it at all — it is a picture as far as the format is concerned. Making it searchable requires OCR, which recognises the characters and adds an invisible text layer.
Why can't I merge PDFs by joining the files?
Because a PDF ends with a cross-reference table recording the byte offset of every object. Joining two files makes every offset in the second one wrong. Merging requires rewriting the structure, which is also why a truncated download will not open.
Is my image uploaded when I convert it?
No. The PDF is assembled byte by byte in your browser and there is no server involved, so the image never leaves your device.

Related tools in Image & Photo Tools

Browse all Image & Photo Tools tools