#png #decoding

png

PNG decoding and encoding library in pure Rust

28 releases (14 breaking)

✓ Uses Rust 2018 edition

new 0.15.2 Dec 3, 2019
0.15.1 Nov 17, 2019
0.15.0 Jul 18, 2019
0.14.0 Jan 11, 2019
0.3.1 Jun 15, 2015

#4 in Images

Download history 16544/week @ 2019-08-20 14220/week @ 2019-08-27 15556/week @ 2019-09-03 13804/week @ 2019-09-10 13376/week @ 2019-09-17 15648/week @ 2019-09-24 17371/week @ 2019-10-01 15045/week @ 2019-10-08 13879/week @ 2019-10-15 15949/week @ 2019-10-22 14687/week @ 2019-10-29 15656/week @ 2019-11-05 16465/week @ 2019-11-12 20663/week @ 2019-11-19 19842/week @ 2019-11-26

68,516 downloads per month
Used in 139 crates (54 directly)

MIT/Apache

95KB
2K SLoC

PNG Decoder/Encoder

Build Status Documentation Crates.io 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.

pngcheck

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/*

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~165–255KB