Crates.io | quantette |
lib.rs | quantette |
version | 0.3.0 |
source | src |
created_at | 2023-10-25 22:03:07.957908 |
updated_at | 2024-07-03 05:17:24.85032 |
description | A fast and high quality image quantizer and palette generator. Supports the CIELAB, Oklab, and sRGB color spaces. |
homepage | https://github.com/Ivordir/quantette |
repository | https://github.com/Ivordir/quantette |
max_upload_size | |
id | 1013687 |
size | 263,885 |
quantette
is a library for fast and high quality image quantization and palette generation.
It supports the sRGB color space for fast color quantization but also the CIELAB and Oklab
color spaces for more accurate quantization. Similarly, 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.
quantette
is licensed under either
at your option.