imagequant 2.3.5

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