fn main() { use std::io::Write as _; let data = pngcrush::crush("examples/uncrushed.png").unwrap(); let mut buffer = std::fs::File::create("examples/crushed.png").unwrap(); buffer.write_all(&data).unwrap(); }