image_crop
Crops a specified rectangular region from an image using x/y pixel coordinates from the top-left, saving the result to a new output file.
Instructions
Crop a rectangle from an image. x and y are pixels from the top-left corner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| overwrite | No | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| format | Yes | ||
| height | Yes | ||
| crop_box | Yes | ||
| output_path | Yes | ||
| output_bytes | Yes |