PDFCROP(1) crop pdf files to their minimal size.


pdfcrop [OPTIONS ...] input[.pdf] [FIoutput file]


pdfcrop is a utility to calculate and remove empty margins from each page in the input PDF file. The resulting output file occupies the minimal paper size needed for the contents and is therefore suitable for inclusion as a graphic


print usage
print version
verbose printing (default: false)
debug informations (default: false)
--gscmd <name>
call of ghostscript (default: gs)
--pdftexcmd <name>
call of pdfTeX (default: pdftex)
--margins "<left> <top> <right> <bottom>"
(0 0 0 0) add extra margins, unit is bp. If only one number is given, then it is used for all margins, in the case of two numbers they are also used for right and bottom.
clipping support, if margins are set (default: false)
using `%%HiResBoundingBox' instead of `%%BoundingBox' (default: false)
parameter for gs's -sPAPERSIZE=<foo>, use only with older gs versions <7.32


pdfcrop --margins 10 input.pdf output.pdf
pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf


pdfcrop has been written by Heiko Oberdiek. This manual page has been written by Frank K├╝ster for the Debian/GNU Linux distribution and may be freely used, modified and/or distributed by anyone.