pltrs-codec 0.1.0

Self-contained compression and image codecs: DEFLATE/zlib, PNG/APNG, JPEG, TIFF, GIF and WebP, and an AVIF encoder
Documentation
  • Coverage
  • 100%
    402 out of 402 items documented27 out of 90 items with examples
  • Size
  • Source code size: 1.6 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 21.9 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Lorisk1210/plt-rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Lorisk1210

pltrs-codec

Self-contained compression and image codecs, written for pltrs: no dependencies and no unsafe code.

  • DEFLATE and zlib, writing zlib-ng 2.3's bytes, with a strictly validating decompressor
  • PNG and APNG; JPEG, TIFF and GIF as Pillow writes and reads them; WebP decoding and lossless encoding
  • an intra-only AV1 encoder and AVIF files, as Pillow writes them through libavif
  • CRC-32, Adler-32, SHA-1, SHA-256 and base64

One of pltrs' crates

pltrs is matplotlib rebuilt from scratch in Rust, with no dependencies outside its own crates. Its crates are released together, at one version, and each depends on the exact version of the others: what they offer each other is not an interface of its own. Most programs want the crate pltrs, matplotlib's model with every output format and interactive windows; this crate is for those who need its codecs alone.

Licence

MIT OR Apache-2.0, at your option (LICENSE-MIT, LICENSE-APACHE). The code and data it takes from other projects keep their own licences: THIRD_PARTY.md lists them, with their texts in LICENSES/.