Next: Encryption and Decryption
Up: Pages
Previous: Flipping Pages
Contents
Index
Cropping
All PDF files contain a media box for each page, giving the
dimensions of the paper. To change these dimensions (without altering the page
contents in any way), use the -mediabox option.
The four numbers are minimum x, minimum y, maximum x, maximum y. x
coordinates increase to the right, y coordinates increase upwards.
PDF file can also optionally contain a crop box for each page,
defining to what extent the page is cropped before being displayed or printed.
A crop box can be set, changed and removed, without affecting the underlying
media box. To set or change the crop box use -crop. To remove any
existing crop box, use -remove-crop.
Note that the crop box is only obeyed in some viewers.
root
2008-12-01