Tutorial · images · Published 2026-08-16 · 4 min read

Screenshots for documentation and marketing

Best practice for documentation and marketing screenshots, from capture resolution and DPI to sharpness, accessibility and optimisation.

Flat editorial illustration showing layered photo frames with a visible file-size meter and a compression bar, grid of thumbnails receding.
Illustration: this article at a glance.

A documentation or marketing screenshot has two destructive failure modes: it is too blurry to convey the UI it shows, or it is an enormous PNG that slows the page it lives on. Both come from the same habit, capturing whatever the screen gives you and publishing it unchanged. The fix is to capture for the width it will be displayed at, account for the device pixel ratio, and then treat the file like any other image in your pipeline.

Editorial close-up illustration showing layered photo frames with a visible file-size meter and a compression bar, grid of thumbnails receding.
Illustration: a closer look at the technique described above.

Capture at the right resolution

Text is the part of a screenshot that most often turns to mush, and text sharpness depends on the capture resolution, not your screen size. Rules that work:

  1. Decide the rendered width first, for example 800 pixels wide on a desktop template.
  2. Multiply by the device pixel ratio of the audience's dense screens, usually 2, and capture at 1600 pixels wide or more.
  3. Resize down to the render width in image editing rather than shrinking in HTML with width and a tiny file.
  4. Enlarge the UI or zoom the browser before capturing if the interface renders small text.

The same principle applies to a retina display. A screen that reports a DPR of 2 and a CSS width of 1440 will give you roughly 2880 physical pixels. Capturing the browser viewport and exporting at the CSS width discards half the detail, which is why the result looks soft. Size the file for the highest-DPR display your design targets, then serve variants for lower densities.

Interpret DPI correctly

The DPI stamp in a PNG is metadata, not geometry. A 300 DPI PNG is not sharper than a 72 DPI PNG if both have the same pixel dimensions; the browser renders by pixels, not the DPI label. The number only matters when exporting for print:

TargetWhat to set
Web displaySharpen by pixel resolution, ignore DPI
PrintExport for the physical size in inches at 300 DPI
Marketing doc PDFMatch the source layout resolution

So do not chase a high DPI number for the web. Provide enough pixels for the rendered width on dense screens, and the image is sharp.

Optimise the file

A screenshot is full of flat colour and repeated anti-aliased edges, which make it compress well despite being photographic:

  1. Convert to a modern format. A flat UI screenshot often beats PNG weight with WebP or AVIF while staying visually identical.
  2. Trim the excess: crop dead space, page margins and empty toolbars before export.
  3. Test quality at 80 to 85 percent for lossy formats; text tolerates little, so compare zoomed.
  4. Keep a source master (ideally lossless) so you can regenerate when the UI changes.

Publish for accessibility and correctness

Panoramas of a whole page benefit from a static capture at each breakpoint. The SVG vs PNG article covers when a live vector illustration is a better choice than a screenshot of one.

When a sharp capture is not enough

If a screenshot always looks soft even at high resolution, the interface itself renders low-DPI text, or a browser zoom has rasterised fonts. Capture from an isolated browser window at the target zoom, verify in a private window at the rendered size, and only then accept the file. If the subject moves, a short recorded clip can be a better documentation tool than a frozen frame.

Need a website built, fixed, optimised, migrated or replaced?

This technical resource is written by CSMBAC, a small design and development studio. If you would rather hand the problem to a professional, the website service page explains how we build enquiry-ready websites.

Explore website services