png_encode_mini

Crates.iopng_encode_mini
lib.rspng_encode_mini
version0.1.2
sourcesrc
created_at2016-11-27 10:44:36.646719
updated_at2016-11-29 11:32:11.555369
descriptionMini stand-alone PNG crate which writes out uncompressed RGBA image files.
homepagehttps://github.com/ideasman42/png-encode-mini-rs
repositoryhttps://github.com/ideasman42/png-encode-mini-rs
max_upload_size
id7380
size11,591
Campbell Barton (ideasman42)

documentation

https://docs.rs/png_encode_mini

README

PNG Encode Mini

Tiny PNG writing utility, without any dependency on zlib or libpng, useful when only basic functionality is required.

Exposes a single method write which takes RGBA pixel-data, with width and height arguments.

Tests

Currently the tests use ImageMagick convert and compare commands to validate the output images can be read.

Further Work

While this crate is intentionally kept small, there are some possible additions.

  • Writing grey-scale images.
  • Writing RGB images (without an alpha channel).
Commit count: 4

cargo fmt