imagequant 2.7.0

Convert 24/32-bit images to 8-bit palette with alpha channel. Bindings for libimagequant that powers pngquant lossy PNG compressor.
Documentation
1
2
3
4
5
6
fn main() {
    if !std::process::Command::new("make").arg("-j8").status().unwrap().success() {
        panic!("Script failed");
    }
    println!("cargo:rustc-flags=-L {}/lib", std::env::var("OUT_DIR").unwrap());
}