quantette

Crates.ioquantette
lib.rsquantette
version0.5.1
created_at2023-10-25 22:03:07.957908+00
updated_at2025-11-08 04:30:23.429378+00
descriptionFast and high quality image quantization and palette generation.
homepage
repositoryhttps://github.com/IanManske/quantette
max_upload_size
id1013687
size436,473
Ian Manske (IanManske)

documentation

README

quantette

Crate Docs

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.

In some critical locations, quantette makes use of SIMD (via the wide crate). Consider enabling the avx or avx2 target features for a noticeable speed up if your target architecture supports these features. If the threads cargo feature is enabled, multi-threaded versions of most functions become available for even greater speed up.

See Examples for example output images from quantette and see Benchmarks and Accuracy for comparisons with other libraries.

License

quantette is licensed under either

at your option.

Commit count: 0

cargo fmt