NOTE: This project has been superseded by the qualetize tool.
Tile-based Image Quantization Tool
This tool is mostly meant for GBA/NDS graphics, where each 'tile' can use one of many palettes. However, it can be adapted to just about any use (for example, custom formats).
Run make
to build the tool, then call tilequant Input.bmp Output.bmp -np:(no. of palettes) -ps:(entries/palette)
(eg. tilequant Input.bmp Output.bmp -np:16 -ps:16
to use all sixteen 16-colour GBA palettes).
All conversions performed with -tilepasses:500 -colourpasses:500 -dither:ord8
.
Palettes | Result |
---|---|
Baseline truth | |
-np:1 |
|
-np:2 |
|
-np:4 |
|
-np:8 |
|
-np:16 |
- Ruben Nunez - Initial work - Aikku93
- Marco Köpcke - Modifications and motivation for DLL interface - Parakoopa
- zvezdochiot - Code and git cleanup - zvezdochiot