A summary of options is included below. For a complete description, use the --help option.
Arguments:file PDF file to open
Options:-h,--help
show help, including all options, and exit
-v,--version
show program's version number and exit
-oOUTPUT,--outputOUTPUT
where to save the cropped PDF
--whichpagesWHICHPAGES
which pages (e.g. "1-5" or "1,3-") to include in cropped PDF (default: all)
--rotate{0,90,180,270}
how much to rotate the cropped pdf clockwise (default: 0)
--optimize{gs,no}
whether to optimize the final PDF using ghostscript (default: previous choice)
--gridGRID
if set to 2x3, for instance, creates a 2x3 grid of selections on initial page; if only one number
is specified, the number of columns/rows is determined according to whether the page is landscape
or portrait
--initialpageINITIALPAGE
which page to open initially (default: 1)
--selections{all,evenodd,individual}
to which pages should selections apply
--exceptionsEXCEPTIONS
pages (e.g. "1-5" or "1,3-") which require individual selections
--trim if specified, will auto trim initial selections
--trim-use{initial,all}
whether to inspect only the initial page or all pages (slow!) when auto trimming (default:
previous value)
--trim-paddingTRIM_PADDING
how much padding to include when auto trimming (default: previous value)
--go output PDF without opening the krop GUI (using the choices supplied on the command line); if used
in a script without X server access, you can run krop using xvfb-run
--no-kde
do not use KDE libraries (default: use if available)
--no-qt5
do not use PyQt5 instead of PyQt4 (default: use PyQt5 if available)
--no-PyPDF2
do not use PyPDF2 instead of pyPdf (default: use PyPDF2 if available)
krop(1)