Skip to content

image-rs/image-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

33afdda · Mar 17, 2025
Feb 4, 2025
Feb 28, 2025
Feb 28, 2025
Feb 28, 2025
Jun 29, 2024
Mar 3, 2025
Feb 28, 2025
Sep 20, 2019
Nov 20, 2018
Oct 21, 2024
Mar 3, 2025
Mar 3, 2025
Sep 20, 2019
Jan 27, 2016
Jan 27, 2016
Sep 29, 2024

Repository files navigation

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.

About

PNG decoding and encoding library in pure Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages