← Blog

Screenshots as PDF pages — what to expect

A 1920 × 1080 screenshot lands on A4 at ~232 DPI, full width with letterbox A4 portrait page white margin (top) ~110 pt white margin (bottom) ~110 pt 1920 × 1080 at 232 DPI Pixel density at viewing Embedded DPI: 232 Reader displays the page at 96 PPI by default → screenshot rendered at 794 × 446 screen pixels Most screens are 100–250 PPI → a 4K display at 100% zoom shows source pixels almost 1:1 When pixels look soft Source resolution doesn't match render resolution → resampling smooths sharp edges of UI text Zoom in to source DPI to see crisp pixels

Screenshots are different from photos in ways that matter for PDF embedding. Photos have continuous tones, soft edges, mild noise — JPEG-friendly content. Screenshots have sharp edges, flat colors, hard transitions, and often text. PNG is the natural format; embedding into PDF preserves the precision PNG was chosen for.

What makes a screenshot different

Page fitting for typical screenshots

Common screenshot sizes and how they land on A4 portrait (8.27 × 11.69 in):

Auto-rotate detects landscape vs portrait and picks the page orientation that minimizes whitespace. 1920 × 1080 lands on landscape A4 (842 × 595 pt) at full width, with smaller top/bottom margins.

When the screenshot is taller than A4

Full-page website captures from "Save as PDF" extensions or scrolling screenshot tools regularly produce 1500 × 5000+ pixel images. On A4 portrait at 96 DPI, that's 15.6 × 52.1 inches — the height is more than 4× the page.

PNG2PDF fits the image to A4 by raising the DPI:

required_DPI = 5000 / 11.69 = 428

The screenshot lands at 3.50 × 11.69 inches on A4 portrait — full height, with very wide white margins on the sides. Visually it becomes a thin tall strip in the middle of the page. The text inside renders at 428 DPI of equivalent print resolution, which is sharp but very small to the eye.

For documentation purposes this is rarely what you want. Either:

  1. Split the screenshot into multiple A4-sized chunks before converting (use a "page-sized screenshot" feature in your screenshot tool).
  2. Convert to a non-A4 page size that matches the screenshot's aspect ratio (PNG2PDF is fixed to A4; most full-featured PDF readers offer a "Print to PDF" with custom paper size).
  3. Accept the tall-strip layout if the goal is just archival.

Dark-mode screenshots

Screenshots from a dark-themed UI render fine in PDFs — the pixels are preserved as-is. The page background is white, but the screenshot pixels themselves cover the page where they're placed; you see the dark UI surrounded by white margins (where the page background shows through).

If you want the entire page to feel "dark", you'd need to set the PDF page's content stream to fill with a dark color before drawing the image. The conversion doesn't do this; the result is the screenshot on the default white page. For a dark-themed PDF, post-process with a tool that fills page backgrounds.

Text readability

The text in a screenshot is rendered as raster pixels — there is no "text" inside the PDF, only an image. You cannot:

If you need searchable text, run OCR on the resulting PDF after combining. Most full-featured PDF readers (Adobe Acrobat, Foxit, ABBYY's tools) have a "Recognize Text" or "Make Searchable" feature that does this in-place. The OCR layer adds invisible text behind the image; the visible content is unchanged.

Color spaces in screenshots

Screenshots from older systems are sRGB. Recent macOS screenshots from a Display P3 monitor are tagged Display P3 — the wide-gamut display's full color range gets captured. iPhone screenshots are also Display P3.

The conversion preserves the embedded ICC profile when the PNG has one. The resulting PDF Image XObject carries /ColorSpace [/ICCBased N R] with the original profile. Profile-aware viewers render the colors correctly; non-aware viewers fall back to sRGB rendering, which on a wide-gamut display will look slightly oversaturated for Display P3 screenshots.

For most screenshots — UI captures, web-page captures — the sRGB fallback is fine. For color-critical work (design review, app screenshots showcasing color choices), check the recipient's display.