imagequant 2.9.1

Convert 24/32-bit images to 8-bit palette with alpha channel. Bindings for libimagequant that powers pngquant lossy PNG compressor.
docs.rs failed to build imagequant-2.9.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: imagequant-4.3.1

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);

For more details see libimagequant documentation and Rust function reference.