PDF → print-readiness report

PDF Preflight Checker

Check a PDF the way a print shop's preflight does: page boxes and bleed, which fonts are embedded, the real resolution of every placed image at the size it is drawn, colour spaces, transparency, annotations and encryption. Pick offset print, home print or screen, and read the pass, warning and fail list.

PDF to check

The file is only read, never changed. Up to 600 pages are scanned.

Drop your PDF here or click to choose

.pdf, up to 50 MB

What it is for

The preset decides which results count as a fail.

Images 300 dpi or more, 3 mm bleed, every font embedded, CMYK or spot colour, no live transparency.

Resolution is computed from each image's pixel size and the matrix it is placed with, so a 3000 px photo shrunk to 2 inches counts as 1500 dpi. Inline images, images inside annotations and patterns are not measured.

Result

Choose a PDF to see its report.

PDF Preflight Checker

Operator: Abdulla Al Fahad. How tools are built and checked

A PDF can look flawless in a viewer and still be refused by a print shop: the fonts were left out, a photo is far coarser than it appears, or there is no bleed to trim against. A preflight check reads the structure of the file and reports those problems before you pay for a proof.

This checker opens the PDF without changing it, walks every page's content, and lists what it finds under one of three targets: offset print, home or office print, or screen and email. It is a reader, not a repair tool: nothing in the file is altered, so you fix the source and export again.

The report is meant to be passed on. The CSV carries one row per finding with the page numbers it applies to, which is usually enough for a designer to find the offending image or font without opening the file with you.

Key features

  • Three presets that change the pass, warning and fail thresholds without rescanning the file
  • True effective dpi per image placement, lowest first, with the drawn size in millimetres
  • Bleed measured from TrimBox against the BleedBox, CropBox or MediaBox
  • Font table showing subset, full or missing embedding and Type 3 fonts
  • Finished size per page, matched to A0 to A6, Letter, Legal and other named sizes, with rotation applied
  • CSV downloads of the report and of the image list
  • Cancellable scan with page progress, up to 600 pages

What is measured, and where the thresholds come from

Page geometry comes from the five page boxes. The finished size is the TrimBox when one exists, otherwise the CropBox, otherwise the MediaBox, with the page's rotation and any UserUnit applied, and it is matched against A0 to A6, B5, Letter, Legal, Tabloid and Statement within 1.5 mm. Bleed is the smallest distance, on any of the four edges, between the TrimBox and the bleed area, where the bleed area is the BleedBox if present and otherwise the CropBox or MediaBox. A PDF with no TrimBox has no measurable bleed, and the offset preset says so instead of guessing.

Fonts are collected from the resources of each page and of every form XObject it draws, through Type 1, TrueType, CID (Type 0) and Type 3 fonts. A font counts as embedded when its descriptor, or the descriptor of its first descendant for Type 0 fonts, holds a font file; a name like ABCDEF+Minion marks a subset. Type 3 fonts carry their glyphs as drawings and are reported separately. A font without a file, including plain Helvetica or Times, is listed as not embedded.

Image resolution is measured, not read. Each image XObject is found through the Do operators in the page content with the transformation matrix in force at that point, form XObjects are followed up to 10 levels, and the effective resolution is the smaller of width in pixels divided by drawn width in inches and height in pixels divided by drawn height in inches. When the same image is drawn several times on one page, the worst placement is reported. Inline images, and images drawn only inside annotations or patterns, are counted or ignored, never measured.

Colour is read from image colour spaces (Device, ICC-based, calibrated, Lab, Indexed, Separation, DeviceN) and from the colour operators in page content (rg, k, g and cs). Transparency counts as live when an ExtGState sets opacity below 100 percent, a blend mode other than Normal, or a soft mask, or when an image has a soft mask or mask. The check also reads form-field and annotation counts, whether an annotation is flagged to print, the PDF version, an output intent, and a PDF/X declaration from the Info dictionary or the XMP metadata.

How it works

The PDF is parsed with the same library the other PDF tools here use, and pdf.js is not involved, so nothing is rendered. For each page the content stream is decoded and a tolerant tokenizer tracks the save and restore of graphics state and the cm operator to keep the current matrix. The scan yields to the browser every few pages so the page stays responsive.

The resolution figure comes from the matrix and not from the image's own metadata. A cm operator with scale 576 0 0 384 draws the image 576 by 384 points, which is 8 by 5.33 inches, so a 2400 by 1600 pixel image placed there is 300 dpi. Every Do operator is resolved this way, nested form XObjects multiply their matrices, and the lowest result per image is the one reported.

Limits keep the tab alive: files over 50 MB are refused, only the first 600 pages are scanned (the report says so), and form XObjects are followed ten levels deep with a visited set so a self-referencing file cannot loop. Cancelling stops the scan at the next page and discards the partial result.

When to run it

  • Checking a flyer exported from a layout program before uploading it to an online printer
  • Finding the one low-resolution logo in a 40-page catalogue
  • Confirming a conference poster has every font embedded before it goes to a plotter in another country
  • Judging a scanned-and-assembled PDF for email size and soft images

Running a check

  1. Drop the PDF into the box.
  2. Choose the target: offset print, home or office print, or screen and email.
  3. Read the verdict and open any warning or fail to see the pages it applies to.
  4. Check the Images table for the lowest-resolution placements and the Fonts table for anything not embedded.
  5. Download the report CSV to attach to a ticket or send to the designer.

Example

One image placement in a brochure PDF

Photo of 2400 x 1600 pixels drawn 8 in x 5.33 in wide on page 3, then the same photo enlarged to 12 in wide on page 7

What the Images table shows

Page 3: 300 dpi (offset: pass)
Page 7: 200 dpi (offset: warning, since 200 to 299 is the warning band)
Home print needs 150 dpi, so both placements pass there

Tips for best results

  • A 3 mm bleed shows as 3.0 mm in the Pages table; 2.8 mm is reported as a fail because it is below the 2.95 mm tolerance.
  • Switch the target after the scan to see how the same file fares for home print and screen without loading it again.
  • Sort order in the Images table is by dpi, so the first rows are the ones to replace.

Limits

Passing here is not a PDF/X validation. It checks the common print failures, not every rule of a standard.

A PDF/X claim is read from the file's metadata; it is not verified.

Only the first 600 pages are scanned; the report says when pages were left out.

Vector colour is judged from the operators in page content, so colour hidden in a pattern or in an annotation appearance can be missed.

Common errors and how to fix them

"This PDF is password-protected."
The file needs a real password to open, so it cannot be inspected. Open it with Unlock PDF first.
"This PDF could not be read."
The file structure is damaged. Re-export from the source program or re-save it in a PDF viewer and try again.
No images found in a PDF that clearly has pictures
The pictures are probably vector artwork, inline images or drawn through annotations. The report lists inline images separately and does not measure them.

Best practices

  • Fix problems at the source and export again, then re-check; the numbers move when an image is replaced.
  • When a printer gives you its own spec sheet, compare its dpi and bleed numbers with the thresholds listed under each preset.

Thresholds by target

The three presets differ in what they treat as a failure. Colour images and grayscale count against the first number, one-bit line art against the second.

  • Offset print: fail below 200 dpi, warn from 200 to 299, pass at 300 or more; line art fails below 300 and warns below 600; fonts must be embedded; bleed of 3 mm is required.
  • Home or office print: fail below 100 dpi, warn from 100 to 149, pass at 150 or more; missing fonts warn instead of fail; bleed is not checked.
  • Screen and email: images below 72 dpi warn, and so do images above 300 dpi because the extra pixels only add size; files over 10 MB warn.

Reading the page boxes

A PDF page has up to five rectangles, and the bleed check depends on which of them the file actually defines. Knowing what each is for explains most bleed results.

  • MediaBox is the full sheet the page was created on; every page has one.
  • CropBox is what a viewer shows by default and falls back to the MediaBox when absent.
  • TrimBox is the finished size after cutting; without it the checker cannot measure bleed and says so.
  • BleedBox is how far the artwork extends past the trim; the checker measures the gap from TrimBox to BleedBox on all four sides and reports the smallest.
  • ArtBox is the meaningful content area and is not used in any check.

Frequently asked questions

Why is an image reported at a lower dpi than its pixel size suggests?

Because it is drawn larger than its native size. A 1200 pixel wide image drawn 8 inches wide is 150 dpi, however sharp the source was.