Crates.io | png-decoder |
lib.rs | png-decoder |
version | 0.1.1 |
source | src |
created_at | 2021-01-03 18:59:02.741841 |
updated_at | 2022-10-09 02:34:47.255463 |
description | A pure-Rust, no_std compatible PNG decoder. |
homepage | https://github.com/bschwind/png-decoder |
repository | https://github.com/bschwind/png-decoder |
max_upload_size | |
id | 331152 |
size | 74,316 |
A pure-Rust, no_std compatible PNG decoder.
See examples/basic.rs for basic usage. The decode()
function returns a PNG header and associated byte data, represented as RGBA (8 bits per channel).
$ cargo build --release
$ cargo test
The formatting options currently use nightly-only options.
$ cargo +nightly fmt
$ cargo clippy
Fuzzing requires a nightly toolchain. Fuzzing for this project is currently confirmed to work with:
+nightly-2020-10-07
cargo install cargo-fuzz
cargo +nightly-2020-10-07 fuzz run png_decoder_fuzzer