export_texture
Convert a pixel canvas into PNG files, Base64 data URIs, ASCII previews, or JSON grids for easy sharing and integration.
Instructions
Exports the pixel canvas to a PNG file, Base64 Data URI, ASCII preview grid, or JSON grid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Pixel art integer scaling factor for crisp output (default: 4 for files/data_uri) | |
| format | Yes | Export format target | |
| canvas_id | Yes | Target canvas ID | |
| file_path | No | Absolute or relative file path (required if format is 'png_file') |