pdftrim(1)
NAME
pdftrim - part of calibre
SYNOPSIS
pdftrim [options] file.pdf
DESCRIPTION
Crops a pdf.
Whenever you pass arguments to pdftrim that have spaces in them,
enclose the arguments in quotation marks.
OPTIONS
- --version
- show program's version number and exit
- -h, --help
- show this help message and exit
- --verbose
- Be verbose, useful for debugging. Can be specified multiple times for greater verbosity.
- -o, --output
- Path to output file. By default a file is created in the current directory.
- -x, --leftx
- Number of pixels to crop from the left most x (default is 10)
- -y, --lefty
- Number of pixels to crop from the left most y (default is 10)
- -v, --rightx
- Number of pixels to crop from the right most x (default is 10)
- -w, --righty
- Number of pixels to crop from the right most y (default is 10)
- -b, --bounding
- A file generated by ghostscript which allows each page to be individually cropped [gs -dSAFER -dNOPAUSE -dBATCH -sDEVICE=bbox > bounding]
SEE ALSO
The User Manual is available at http://calibre.kovidgoyal.net/user_manual
- Created by Kovid Goyal <kovid@kovidgoyal.net>