colors_inspect
List the actual colors in image files, sorted by frequency and luminance, to identify duplicates, anti-aliasing noise, and prepare for region mapping.
Instructions
List the colours actually used in files, sorted by frequency, with luminance — the raw material for canon_init/canon_learn decisions. Use it to spot near-duplicate colours, anti-aliasing noise, and which hexes belong to which visual part before defining regions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | how many colours to list (default 40) | |
| cellH | No | spritesheet cell height (PNG sheets only) | |
| cellW | No | spritesheet cell width (PNG sheets only) | |
| files | Yes |