Export everything
sprite_exportExport sprite animations as PNG frames, GIF, APNG, SVG, spritesheets with atlas JSON, and more; get absolute file paths and an inline preview.
Instructions
Write real files (never source files). formats: png (per frame), gif, apng (lossless animated PNG), svg (animated), spritesheet (PNG + atlas JSON), gpl, css, json (project), gallery. Example: {formats:["png","gif","spritesheet","apng"], scale:8, atlas:"aseprite"}. Returns absolute paths and an inline preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Relative subfolder inside the output root, e.g. 'my-game/hero' (no '..'). | |
| loop | No | GIF loop forever (default true). | |
| name | No | Base file name (default project id, sanitized). | |
| atlas | No | Atlas JSON flavor (default 'aseprite'). | |
| scale | No | Integer nearest-neighbour scale for raster exports (default 8). | |
| title | No | ||
| columns | No | ||
| formats | Yes | Export formats. 'all' produces every format. | |
| padding | No | Spritesheet gutter in pixels (default 1). | |
| project | No | Project id. Omit to use the active project. | |
| background | No | Optional solid background hex for PNG/APNG. |