1. NAME

PDFCROP - crop pdf files to their minimal size.

2. SYNOPSIS

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

3. DESCRIPTION

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

4. OPTIONS

  • --help
        print usage
  • --version
        print version
  • --(no)verbose
        verbose printing (default: false)
  • --(no)debug
        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.
  • --(no)\fBclip
        clipping support, if margins are set (default: false)
  • --(no)\fBhires
        using `%%HiResBoundingBox' instead of `%%BoundingBox' (default: false)
  • --papersize <foo>
        parameter for gs's -sPAPERSIZE=<foo>, use only with older gs versions <7.32

5. EXAMPLES

pdfcrop --margins 10 input.pdf output.pdf

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

6. AUTHORS

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