Read the boxes with their origins
A PDF can declare several rectangular page regions. MediaBox describes the page medium, CropBox controls a viewing or printing boundary, TrimBox describes intended finished dimensions, and BleedBox describes a production clipping region. ArtBox is another optional content-related box. The report reads these dictionaries and records whether a rectangle came from the page, an inherited page-tree value or a default.
Absent CropBox defaults to MediaBox. Absent TrimBox, BleedBox and ArtBox default to CropBox. An explicitly malformed value remains unknown; it is not quietly replaced. Reported rectangles are not clipped or corrected. Boxes outside their expected surrounding rectangles are observations to review with the producer.
Units and margins
A default PDF user-space unit is 1/72 inch, scaled by the page's UserUnit. The report converts supported geometry to millimeters and records rotation separately. Left, bottom, right and top margins describe the unrotated BleedBox around TrimBox, not paper-feed edges. A negative margin indicates that the declared boxes do not nest on that edge.
A supplied minimum is only a comparison assumption. Numeric conversions are approximate; near-threshold results are flagged. Neither positive margins nor a matching box declaration establishes that ink or images actually extend there. Confirm the printer's requirements and inspect the real artwork with suitable production tools.
Local, bounded inspection
The parser does not display pages or run document actions. A pinned local PDF-LIB parser is used with its MIT license. Inputs stay in browser memory, with no backend storage, external assets or accounts. Reports are downloaded only on request. Clear or select another file to cancel current work and remove stale results. Unsupported files require another inspection tool; no password bypass or automatic repair is attempted.