tilequant is an tile-based image quantization tool mostly aimed at GBA/NDS development.
Processing is performed in floating-point arithmetic, within the YCoCg colour space for improved perceptual quality.
Each of the RGBA channels may have a specified bit depth for the output palette (useful, for example, for RGB565 or other 'uneven' - or even custom - variations), and dithering (using ordered dithering or the Floyd-Steinberg algorithm) is also possible.
Source code may be found on the GitHub page. The executable defaults to GBA/NDS-style BGRA5551 (tile size of 8x8), with Floyd-Steinberg dithering, but it's possible to change these via the command line (run the tool without any arguments for usage).
tilequant is released under the Unlicense license.
Processing is performed in floating-point arithmetic, within the YCoCg colour space for improved perceptual quality.
Each of the RGBA channels may have a specified bit depth for the output palette (useful, for example, for RGB565 or other 'uneven' - or even custom - variations), and dithering (using ordered dithering or the Floyd-Steinberg algorithm) is also possible.
Source code may be found on the GitHub page. The executable defaults to GBA/NDS-style BGRA5551 (tile size of 8x8), with Floyd-Steinberg dithering, but it's possible to change these via the command line (run the tool without any arguments for usage).
tilequant is released under the Unlicense license.