canvas_size
Grow or shrink an Aseprite sprite canvas without scaling pixels: add or cut margins, or set new width and height with an anchor.
Instructions
Grows or shrinks the canvas without scaling pixels: either margins (left/top/right/bottom, negative values cut) or a new width/height with an anchor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| right | No | ||
| width | No | ||
| anchor | No | ||
| bottom | No | ||
| height | No | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch | |
| trimOutside | No |