crop_canvas
Crop an Aseprite canvas to a defined rectangle, removing all content outside the specified x, y, width, and height bounds to reduce sprite dimensions.
Instructions
Crop the canvas to the given rectangle, discarding content outside it.
Args: filename: Aseprite file to modify x: Left edge of the crop area y: Top edge of the crop area width: Width of the crop area height: Height of the crop area
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes |