quantette is a library for fast and high quality image quantization and palette generation. It uses the Oklab color space for more accurate quantization (but still supports sRGB and other color spaces). quantette's k-means color quantizer gives high quality results while the included Wu color quantizer gives fast but still quite good results.
See Examples for example output images from quantette and see Benchmarks and Accuracy for comparisons with other libraries.
quantette is licensed under either
- the Apache License, Version 2.0 (see LICENSE-APACHE)
- the MIT license (see LICENSE-MIT)
at your option.