photo_crop
Crop Image — Crop an image to a specified region (x, y, width, height) in pixels. [category: photo]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Left offset px on the DISPLAYED (EXIF-upright) image — the handler auto-orients before cropping. | |
| y | No | Top offset px on the DISPLAYED (EXIF-upright) image — the handler auto-orients before cropping. | |
| file | Yes | JPG, PNG, WebP, HEIC, TIFF, BMP, or GIF. Output keeps the input format. | |
| width | Yes | Crop width px. Clipped at the image edge if the region overruns. | |
| height | Yes | Crop height px. A region overrunning the image edge is clipped, not an error. |