export_animation
Exports Aseprite animations as looping GIF or animated PNG files at a specified path. Preserves per-frame durations and scales pixels sharply for game assets.
Instructions
Write the animation (or one tag) as a looping .gif or animated
.png at path, scaled up scale times with sharp pixels (4 turns a
384x128 banner into 1536x512). Each frame keeps its own duration. An animated
PNG keeps transparency; a GIF is laid on background (#rrggbb, black by
default), as are both when it's given. Written from Python, so the live
editor shows no security prompt. Headless: pass file.
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": {
"path": "<path>"
},
"name": "export_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| file | No | ||
| path | Yes | ||
| scale | No | ||
| background | No |