Registry / other / png
library0.18.1rscratesunverified

PNG decoding and encoding library in pure Rust, supporting all standard PNG features.

# Cargo.toml [dependencies] png = "0.18.1"
INSTALL
IMPORT
SIG · PNG
P
png
otherrustv0.18.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Decoder
use png::Decoder;

Opens a PNG file and creates a decoder to read its image data.

use png::Decoder; use std::fs::File; fn main() { let file = File::open("image.png").unwrap(); let decoder = Decoder::new(file); println!("PNG decoder created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.18.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
png — cargo add png · libregistry