aseprite_quantize_palette
Reduce artwork to a specified number of colors via k-means, snapping pixels to the result. Tame messy palettes or meet retro constraints like 16 colors.
Instructions
Reduce the artwork to N colours (k-means) and snap every pixel to the result. Use this to tame a messy palette or to hit a retro constraint like 16 colours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Target number of colours (default 16). | |
| remap | No | Repaint pixels to the new palette (default true). | |
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. |