pdf_crop
Crop PDF pages by specifying a rectangular area with coordinates and dimensions. Remove margins or isolate specific regions.
Instructions
Crop pages by setting the visible area (crop box). Trims margins or isolates a region. Coordinates are in points from bottom-left.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge of crop area (points from left) | |
| y | Yes | Bottom edge of crop area (points from bottom) | |
| pages | No | Pages to crop (1-indexed). Omit for all pages. | |
| width | Yes | Width of crop area in points | |
| height | Yes | Height of crop area in points | |
| filePath | Yes | PDF file path | |
| outputPath | Yes | Output path |