60 releases

0.18.1 Feb 14, 2026
0.18.0 Aug 29, 2025
0.18.0-rc.3 Jul 2, 2025
0.18.0-rc Mar 3, 2025
0.3.1 Jun 15, 2015

#5 in Images

Download history 778531/week @ 2025-12-28 1325259/week @ 2026-01-04 1466387/week @ 2026-01-11 1547371/week @ 2026-01-18 1699766/week @ 2026-01-25 1926755/week @ 2026-02-01 2025315/week @ 2026-02-08 1945061/week @ 2026-02-15 2081877/week @ 2026-02-22 2380069/week @ 2026-03-01 2638866/week @ 2026-03-08 2530768/week @ 2026-03-15 2528211/week @ 2026-03-22 2482905/week @ 2026-03-29 2646755/week @ 2026-04-05 2746591/week @ 2026-04-12

10,643,085 downloads per month
Used in 6,910 crates (574 directly)

MIT/Apache

480KB
9K SLoC

PNG Decoder/Encoder

Build Status Documentation Crates.io License

Robust and performant PNG decoder/encoder in pure Rust. Also supports APNG.

No unsafe code, battle-tested, and fuzzed on OSS-fuzz.

Performance

Performance is typically on par with or better than libpng.

Includes a fast encoding mode powered by fdeflate that is dramatically faster than the fastest mode of libpng while simultaneously providing better compression ratio.

On nightly Rust compiler you can slightly speed up decoding of some images by enabling the unstable feature of this crate.

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

~1MB
~17K SLoC