hayro-ccitt 0.2.0

A decoder for group 3 and group 4 CCITT images.
Documentation
  • Coverage
  • 100%
    25 out of 25 items documented0 out of 8 items with examples
  • Size
  • Source code size: 36.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.06 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • LaurenzV/hayro
    552 37 15
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LaurenzV

hayro-ccitt

Crates.io Documentation

A decoder for CCITT fax-encoded images.

This crate implements the CCITT Group 3 and Group 4 fax compression algorithms as defined in ITU-T Recommendations T.4 and T.6. These encodings are commonly used for bi-level (black and white) images in PDF documents and fax transmissions.

The main entry point is the decode function, which takes encoded data and decoding settings, and outputs the decoded pixels through a Decoder trait that can be implemented according to your needs.

The crate is no_std compatible but requires an allocator to be available.

Safety

Unsafe code is forbidden via a crate-level attribute.

License

Licensed under either of

at your option.