23 stable releases
|2.11.9||Feb 26, 2018|
|2.11.7||Nov 30, 2017|
|2.11.4||Oct 27, 2017|
|2.11.1||Jul 13, 2017|
#27 in Images
435 downloads per month
Used in 2 crates (1 directly)
libimagequant bindings for Rust
Imagequant library converts RGBA images to 8-bit indexed images with palette, including alpha component. It's ideal for generating tiny PNG images (although image I/O isn't handled by the library itself).
This wrapper makes the library usable from Rust.
Rust API closely follows the C API, but is slightly OO-ified:
liq_set_dithering_level(result, 1.0); ↓ result.set_dithering_level(1.0);
Converts RGBA images to 8-bit with alpha channel.
This is based on imagequant library, which generates very high quality images.
examples/ directory for example code.