png 0.16.8

PNG decoding and encoding library in pure Rust

PNG Decoder/Encoder

Build Status Documentation Lines of Code License fuzzit

PNG decoder/encoder in pure Rust.

It contains all features required to handle the entirety of the PngSuite by Willem van Schack.


The pngcheck utility is a small demonstration binary that checks and prints metadata on every .png image provided via parameter. You can run it (for example on the test directories) with

cargo run --release --example pngcheck ./tests/pngsuite/*


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.