Screenshots as PDF pages — what to expect
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
- Pixel-exact text: anti-aliased glyphs depend on subpixel positions. Resampling blurs them.
- Sharp edges: button borders, window chrome, divider lines. JPEG would add halos.
- Limited color count: most UIs use a few hundred colors. Indexed PNG often shrinks the file 4–10×.
- Tall vertical aspect ratio: full-page captures of websites are often 1500 × 5000+ pixels — taller than any standard paper.
Page fitting for typical screenshots
Common screenshot sizes and how they land on A4 portrait (8.27 × 11.69 in):
- 1920 × 1080 (1080p screen): 232 DPI, 8.27 × 4.65 in. Full A4 width, letterboxed top and bottom.
- 2560 × 1440 (1440p screen): 309 DPI, 8.27 × 4.65 in. Same shape, slightly higher density.
- 3840 × 2160 (4K screen): 464 DPI, 8.27 × 4.65 in. Same shape, very high density.
- 1170 × 2532 (iPhone 14 portrait): 217 DPI, 5.40 × 11.69 in. Full A4 height, letterboxed sides.
- 1500 × 3000 (full webpage capture): 257 DPI, 5.85 × 11.69 in. Full height, sides letterboxed.
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:
- Split the screenshot into multiple A4-sized chunks before converting (use a "page-sized screenshot" feature in your screenshot tool).
- 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).
- 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:
- Select or copy the text.
- Search for text within the PDF (search returns nothing).
- Have the text reflow or change font.
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.