Export Sprite
aseprite_exportExport Aseprite files to PNG, GIF, sprite sheets, or data using CLI flags. Supports trimming, scaling, layer/tag splitting, and frame ranges for flexible output.
Instructions
Export an existing Aseprite file/image to PNG/GIF/sheet/data using common CLI flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for Aseprite commands. | |
| tag | No | ||
| data | No | Optional JSON data path for sprite sheet exports. | |
| trim | No | ||
| input | Yes | ||
| layer | No | ||
| scale | No | ||
| sheet | No | Optional sprite sheet PNG output path. | |
| output | Yes | ||
| colorMode | No | ||
| splitTags | No | ||
| timeoutMs | No | Command timeout in milliseconds. | |
| frameRange | No | Aseprite frame range, for example '0,5'. | |
| splitLayers | No | ||
| splitSlices | No | ||
| asepritePath | No | Path to the Aseprite executable. Defaults to ASEPRITE_PATH or PATH discovery. | |
| filenameFormat | No |