aseprite_export_sprite_sheet
Export Aseprite animations as a sprite sheet PNG with optional JSON metadata, controlling layout, tags, padding, and scale for game engine use.
Instructions
Export a sprite sheet PNG plus optional JSON metadata - the standard way to hand pixel-art animations to a game engine. Use tag to export a single animation, sheetType to choose the layout, and padding options to avoid bleeding between tiles when the sheet is scaled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Export only the frames in this animation tag. | |
| rows | No | Row count for sheetType columns. | |
| trim | No | Trim transparent pixels and record offsets in the JSON. | |
| scale | No | Integer upscale factor. | |
| output | No | Sprite sheet PNG path. Relative paths land in the out folder. | |
| columns | No | Column count for sheetType rows. | |
| extrude | No | Duplicate edge pixels to prevent sampling artifacts. | |
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. | |
| sheetType | No | Layout (default horizontal). | |
| dataFormat | No | JSON shape (default json-hash). | |
| dataOutput | No | Optional JSON metadata path (frame rects, durations, tags, layers). | |
| frameRange | No | [from, to] inclusive, 0-based. | |
| ignoreEmpty | No | Skip empty frames. | |
| splitLayers | No | Export each layer as a separate row in the sheet. | |
| innerPadding | No | Padding inside each frame. | |
| shapePadding | No | Padding between frames (use 1-2 to prevent bleeding). | |
| borderPadding | No | Padding around the sheet edge. | |
| mergeDuplicates | No | Merge identical frames. |