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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>",
"output": "<output>"
},
"name": "aseprite_export"
}
}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 |