get_pixels_rect
Read a rectangular RGBA pixel region from an Aseprite cel as JSON, specifying filename, coordinates, width, height, layer, and frame. Retrieve precise pixel data for scripts and asset pipelines.
Instructions
Read a rectangular RGBA region from a cel as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes | ||
| layer_name | No | ||
| frame_index | No |