How PDF Works: Pages, Fonts, and Security
PDF internal structure, how fonts are embedded, why PDFs look the same everywhere, and how password encryption protects documents.
When you convert a photo to a PDF, you aren't just changing a file extension. You are wrapping a raster image inside a complex, vector-based container that was designed to look identical on a 1990s laser printer and a 2026 smartphone.
A common misconception is that PDF is an image format like JPEG or PNG. In reality, a PDF (Portable Document Format) is a container format. It can hold text, vector graphics, interactive forms, and, most importantly, raster images.
When you use an image-to-PDF tool, the software creates a PDF "page" and then instructs the PDF viewer to draw your image at a specific location on that page. The image data itself is embedded inside the file, often using the same compression algorithms the original file used.
PDF supports several "filters" for storing image data. These filters determine how the raw pixels are compressed to keep the file size manageable:
Images are measured in pixels, but PDF pages are measured in points. A standard PDF point is defined as 1/72 of an inch. This physical measurement is what makes PDFs "portable" — a document designed to be 8.5 inches wide will measure exactly 8.5 inches on any screen or paper, regardless of the screen's pixel density.
When an image is placed in a PDF, the tool must decide its DPI (Dots Per Inch). If you place a 3000-pixel wide image on an A4 page (which is about 8.27 inches wide), the resulting resolution is roughly 360 DPI, which is excellent for high-quality printing.
One of the most powerful features of PDF is its ability to handle different resolutions simultaneously. You can have a low-resolution thumbnail and a high-resolution print image on the same page. The PDF viewer handles the scaling automatically based on the output device.
When you "zoom in" on a PDF, the viewer isn't just enlarging pixels (unless it's a raster image). It is re-rendering the vector paths and text at the new scale. For embedded images, the viewer uses interpolation algorithms to keep the image looking as good as possible, even when stretched beyond its native resolution.
PDFs are almost always created with a specific physical target in mind. The two most common standards are:
| Format | Dimensions (mm) | Dimensions (Points) | Primary Region |
|---|---|---|---|
| A4 | 210 x 297 | 595 x 842 | International (ISO) |
| Letter | 215.9 x 279.4 | 612 x 792 | North America |
A4 is part of the ISO 216 standard, where the ratio between width and height is the square root of 2 (1:1.414). This unique property means that if you cut an A4 sheet in half, you get two A5 sheets with the exact same proportions.
Unlike a raw image file, a PDF can store extensive metadata and hidden layers. When you convert an image to PDF, you can also include:
PDF won the "format wars" because of encapsulation. A PDF file includes everything it needs to render correctly: the fonts (or subsets of them), the vector paths, the color profiles, and the images.
Unlike a Word document, which might look different if the recipient doesn't have the same version of Microsoft Word or the same fonts installed, a PDF is a fixed snapshot. This reliability is why governments, banks, and designers use PDF for everything from legal contracts to high-end magazine layouts.
The PDF standard continues to evolve. PDF 2.0 (ISO 32000-2) introduced features like unencrypted wrappers for encrypted files, improved accessibility support, and better handling of 3D models and geospatial data. Despite these advancements, the core goal remains the same: universal, reliable document exchange.
"PDF is the digital equivalent of printed paper. Once it is created, it is meant to be viewed, not reflowed."
While keeping images as JPEGs is fine for viewing in a gallery, converting them to PDF is preferable when:
By wrapping your images in a PDF, you are ensuring they will be readable and look exactly as you intended for decades to come.
PDF internal structure, how fonts are embedded, why PDFs look the same everywhere, and how password encryption protects documents.
Ever wondered why you can't just click and type in a PDF like a Word doc? Here's what's really going on inside that file.
Why screens mix red, green, and blue light, what HEX shorthand really encodes, and when HSL makes your life easier.