libimagequant (pngquant) bindings for the Rust language
Rust Makefile
Latest commit 6565e11 Nov 16, 2016 @pornel Formatting
Permalink
Failed to load latest commit information.
examples Rust 1.0a2 updates Mar 1, 2015
src Formatting Nov 17, 2016
.gitignore Cargo Mar 2, 2015
COPYRIGHT 2.8.0 Nov 17, 2016
Cargo.toml 2.8.0 Nov 17, 2016
Makefile 2.8.0 Nov 17, 2016
README.md Updated readme Jul 2, 2015
build.rs Makefile fix Aug 10, 2015

README.md

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.