Skip to content
Glossary · PDF

CropBox

Dutch: CropBox (zichtbaar gebied)

In short

The CropBox is the box in a PDF that decides which part of the page you get to see. Open the file in Acrobat and you are looking at the CropBox and at nothing else. Everything outside that box is clipped away from the view, but it stays in the file.

On the left the full file with printer marks, on the right what Acrobat shows of it1 · the fileMediaBox with printer marksCropBox2 · what Acrobat showsthe marks are gone,the image runs to the edge
On the left is everything the file contains. On the right is what you see on screen: only the area inside the CropBox. The image at the top right is cut off at the CropBox edge, but the whole image is still in the file.

Why this exists

A print-ready PDF holds more than the page itself. There are crop marks around it, often a colour bar, registration marks and a line with the file name. That is useful for the printer. For someone who only wants to look at the file it is clutter around the page.

The CropBox solves that. The box says: show this part, and leave out the rest. That way you view a press sheet as if it were an ordinary page, without anything disappearing from the file.

The specification is strict that this is the one box without a production meaning. The crop box "has no defined meaning in terms of physical page geometry or intended use; it merely imposes clipping on the page contents". So the CropBox says nothing about how big the product becomes, where the knife goes, or where the bleed stops. It only clips the view.

Where you meet it

In Acrobat. What you see on screen is the CropBox. Enfocus puts it this way in the preflight documentation: the crop box is "the 'page' size at which your PDF document is displayed in Adobe Acrobat". If the CropBox equals the MediaBox you see the whole sheet with the marks on it. If it equals the TrimBox you see the finished product.

When cropping a page. The crop function in Acrobat changes the CropBox and nothing else. The objects you no longer see are still there, and they come back the moment somebody enlarges the CropBox again or removes it.

When placing a PDF in a layout application. The specification notes that the bounding box of a placed page typically coincides with the crop box or the art box of that page. Which of the two it becomes depends on the placement setting in the layout application.

In preflight. PitStop has a check called "Page box layout" with two variants. For on-screen use the page is supposed to be defined solely by the crop box, and that crop box is supposed to be the same size as the media box. For print there is supposed to be no crop box at all, or a crop box equal to the media box.

How it works

The CropBox is a rectangle in the page dictionary, written as four numbers: lower left x and y, upper right x and y. Those numbers are in default user space units, and one such unit is 1/72 inch by default.

The box is optional. If there is no CropBox in the file, the MediaBox applies as its value. So there is always a CropBox, even when nobody set one.

What hangs below the CropBox matters more. The BleedBox, the TrimBox and the ArtBox all three have the CropBox as their default value. Set a CropBox wrong while the other boxes are missing, and those four wrong numbers quietly propagate into the trim size and into the bleed.

If the CropBox extends beyond the MediaBox, only the overlapping part counts. A processor then treats the box as its intersection with the MediaBox.

Cropping removes nothing. A page that looks neatly sized in Acrobat is not the same as a page that is sized. The CropBox only hides. Anyone who later opens the file with a different box, or runs it through a RIP that looks at the TrimBox, gets the hidden content straight back. To really take something out you need an operation that deletes the objects, not a new box.
Our advice: make the CropBox the same size as the MediaBox. Then you know what you are looking at. The file shows the whole sheet, printer marks and all, and there is no longer a gap between the image on your screen and the contents of the file. A second benefit: BleedBox, TrimBox and ArtBox inherit from the CropBox, so a CropBox equal to the MediaBox gives a predictable answer when a box is missing, instead of a half-hidden surprise. PitStop expects the same thing in its Press Layout: no crop box, or a crop box equal to the media box.

Technical

The CropBox sits in the page dictionary as /CropBox [llx lly urx ury]. It is one of the five boxes a PDF page has: MediaBox, CropBox, BleedBox, TrimBox and ArtBox. Only the MediaBox is required.

The CropBox is inheritable. It does not have to sit on the page itself: it may sit on a Pages node in the page tree and apply from there to every page below it. That is one reason a file sometimes has a CropBox its author is not aware of.

PropertyValueStatus
Key in the PDF/CropBoxverified
Typerectangle, four numbers in default user space unitsverified
Requiredno, optional and inheritableverified
Default valuethe MediaBoxverified
Is the default value forBleedBox, TrimBox and ArtBoxverified
Unit1 unit = 1/72 inch, unless UserUnit says otherwise (PDF 1.6)verified
Outside the MediaBoxtreated as its intersection with the MediaBoxverified
Display of guidelinesthrough /BoxColorInfo in the page dictionary (PDF 1.4)verified

Positioning without a job ticket

There is one exception to "the CropBox has no production meaning". The specification adds: in the absence of other information, such as imposition instructions in a JDF job ticket, the crop box does determine how the contents of the page are positioned on the output medium.

In practice that means: as soon as a decent job ticket or an imposition package is involved, the machine looks at TrimBox and BleedBox and not at the CropBox. Print straight from a desktop printer and the CropBox is what lands on paper.

In PDF/X

PDF/X does not forbid the CropBox, but it does bind it. In a PDF/X-4 file: if a CropBox is present, the ArtBox, the TrimBox and the BleedBox shall not extend beyond it. And none of those boxes shall extend beyond the MediaBox.

In our tooling

PitStop has the check "Page box layout". Choose Screen Viewing Layout and PitStop expects the page to be defined solely by the crop box, that crop box to be the same size as the media box, and no press-specific boxes to be present. Choose Press Layout and PitStop expects no crop box at all, or a crop box equal to the media box.

In the automatic fix for Screen Viewing Layout, PitStop derives the crop box or media box from the first box in a list you order yourself. Set that order deliberately: the difference between "bleed box first" and "trim box first" is a few millimetres of bleed that do or do not show up.

In callas pdfToolbox the same is done with a check on the page boxes inside a profile, and with a fixup that rewrites the boxes. A Check only looks and changes nothing, a Fixup alters the file.

  • MediaBox: the only required box, and the default value of the CropBox.
  • TrimBox: the finished trimmed size, with the CropBox as its default value.
  • BleedBox: how far the bleed runs, also with the CropBox as its default value.
  • ArtBox: the box around the meaningful content, used when placing the page in another document.
  • Preflight: the check that establishes whether the boxes are right before the file goes into production.

Sources

Last updated · checked by GrafiStore

Back to the glossary

Never miss an update?

Get the latest tips on workflow automation straight to your inbox.

By subscribing you agree to our privacy policy.