Rd Quantize
rd_quantizeReduce PNG colors to an indexed GBA-friendly palette. Returns the hex palette and saves a quantized PNG with chosen color count via median-cut quantization.
Instructions
Reduce a PNG to an indexed palette (GBA-friendly) and return the hex palette.
Pillow median-cut quantization; output is a P-mode PNG. Default out_path sits next to the input with a _q{colors} suffix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | ||
| out_path | No | ||
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||