pixelart_import_canvas
Import an existing PNG or image file into a new pixel art canvas to continue editing without redrawing from scratch.
Instructions
Load an existing PNG (or other image) file from disk into a new canvas.
Use this to continue editing a sprite that already exists (e.g. a tile already in the user's Unity project) instead of redrawing it from a blank canvas.
Args: params: canvas_id (new id to store it under), file_path (local path to the image). Returns: JSON string: {"canvas_id", "width", "height"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |