Crops an image to a rectangular sub-window.
| Name | Type | Required | Description |
|---|---|---|---|
| x_offset | int | Yes | The x offset in pixels from the left hand side of the image. |
| y_offset | int | Yes | The y offset in pixels from the top of the image. |
| width | int | Yes | The width of the cropping box in pixels. |
| height | int | Yes | The height of the cropping box in pixels. |
| type | Literal["crop"] | Yes | None |