hayro-ccitt

Crates.iohayro-ccitt
lib.rshayro-ccitt
version0.2.0
created_at2025-12-14 13:48:13.441294+00
updated_at2026-01-04 10:39:17.304723+00
descriptionA decoder for group 3 and group 4 CCITT images.
homepage
repositoryhttps://github.com/LaurenzV/hayro
max_upload_size
id1984514
size36,503
Laurenz Stampfl (LaurenzV)

documentation

README

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.

Commit count: 768

cargo fmt