3 releases
Uses old Rust 2015
0.1.2 | Nov 29, 2016 |
---|---|
0.1.1 | Nov 29, 2016 |
0.1.0 | Nov 27, 2016 |
#5 in #uncompressed
35 downloads per month
8KB
188 lines
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).