validate_sprite_for_game_export
Validate a sprite against game export criteria including dimensions, color mode, frames, tags, transparency, palette, and expected exports. Returns a validation manifest with pass/fail and detailed checks.
Instructions
Check whether a sprite is game-ready against the criteria you specify.
Runs a series of checks — does the file open, do dimensions match (exactly or as
a tile multiple), is the colour mode allowed, are frame counts / required animation
tags present, is the background transparent, is the palette within budget, do
expected export files exist, and is sprite-sheet metadata readable — plus soft
warnings for oversized canvases, missing tags, and default/blank layer names.
All criteria are optional; only the ones you pass are enforced. Returns a
``workflow_manifest.v1`` manifest (kind "validation") with a `validation` section
`{passed, checks[], errors[], warnings[]}`. `validation.passed` is the verdict;
`ok` just means the check ran.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| max_frames | No | ||
| min_frames | No | ||
| required_tags | No | ||
| tile_multiple | No | ||
| expected_width | No | ||
| expected_height | No | ||
| expected_exports | No | ||
| max_palette_size | No | ||
| spritesheet_data | No | ||
| allowed_color_modes | No | ||
| require_transparent_background | No |