Preview creating an external TSJ tileset
tiled_create_tilesetCreates a new external tileset TSJ from an existing project image, computing tile layout with Tiled's margin/spacing formula, and returns a change set without altering project files.
Instructions
Plans one new external atlas TSJ from an existing project image, computing columns and tilecount with the Tiled 1.12.2 margin/spacing grid formula, and returns an expiring change set without modifying project assets. The approved expectedRevision is the SHA-256 of the exact prospective TSJ bytes; apply refuses to overwrite any existing destination. tiled_create_map remains the sole direct creation exception.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| margin | No | ||
| spacing | No | ||
| className | No | ||
| imagePath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden | |
| tileWidth | Yes | ||
| tileHeight | Yes | ||
| tilesetPath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |