Read Image Crop
read_image_cropRead a rectangular crop from an original image by specifying top-left pixel coordinates, width, and height; returns the selected region scaled to a maximum 1600-pixel longest side.
Instructions
Read a rectangular crop directly from the original image, rendered at a safe maximum longest side of 1600 px. Coordinates are original-image pixels from the top-left corner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Crop left coordinate in original-image pixels. | |
| y | Yes | Crop top coordinate in original-image pixels. | |
| path | Yes | Image path relative to workspace root. | |
| width | Yes | Crop width in original-image pixels. | |
| height | Yes | Crop height in original-image pixels. | |
| workspace_id | No | Workspace id from open_workspace. Omit to use default workspace. | |
| max_dimension | No | Crop output longest-side dimension. Default/max: 1600 pixels. |