By Jetformat
The coordinates define the MediaBox for every page. Cropping changes the viewable page area and must not be treated as secure deletion of off-page content.
Steps
- Start with a local PDF. Replace the sample paths and identifiers with your own.
- Run the command below. Save to a new output path so the source remains available for comparison.
- Check the result as described below before using it in another job.
jetformat pdf crop book.pdf --llx 0 --lly 0 --urx 400 --ury 500 -o crop.pdf
Options for this task
| Option | Meaning |
|---|---|
--llx |
Lower-left X |
--lly |
Lower-left Y |
--output |
Output PDF path (required) |
--urx |
Upper-right X |
--ury |
Upper-right Y |
Check the result
Check the new page dimensions with pdf info and render a page to verify important content is not clipped.
Notes and limits
This operation uses page-based credits. Review the billing guide before processing a large document.
The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat pdf crop --help to compare options with your installed version.
See the pdf command reference for the surrounding workflow.