png_encode_mini 0.1.2

Mini stand-alone PNG crate which writes out uncompressed RGBA image files.
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 11.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 265.22 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • ideasman42/png-encode-mini-rs
    6 1 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ideasman42

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).