Crop PDF margins
pdf_cropTrim the visible area of PDF pages by setting a CropBox from specified margins in points. Trimmed content is hidden, not removed, and the file is processed locally.
Instructions
Trim the visible area of each page by the given margins, in points (72 = 1 inch). This sets the CropBox, so the trimmed content is HIDDEN, not removed — it stays in the file and anyone can restore it. Cropping is not redaction. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Points to trim from the top (default: 0) | |
| left | No | Points to trim from the left (default: 0) | |
| force | No | Replace the output file if it already exists | |
| input | Yes | Path to the input PDF | |
| right | No | Points to trim from the right (default: 0) | |
| bottom | No | Points to trim from the bottom (default: 0) | |
| output | Yes | Path to write the cropped PDF |