export_frame
Export a single frame from an Aseprite file as a PNG with optional nearest-neighbor scaling, enabling extraction of specific animation frames for game assets or review.
Instructions
Export a single frame as a PNG, optionally scaled up.
To look at your work while drawing, use view_sprite instead: it returns the image directly, with a pixel grid and coordinate rulers.
Args: filename: Aseprite file to export frame_index: Frame index starting at 1 output_filename: Output PNG path scale: Integer nearest-neighbor scale factor (default 1)
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": {
"filename": "<filename>",
"frame_index": "<frame_index>",
"output_filename": "<output_filename>"
},
"name": "export_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| filename | Yes | ||
| frame_index | Yes | ||
| output_filename | Yes |