pdfluent-ccitt 0.2.1

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: 53.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 618.88 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jasperdew github:pdfluent:maintainers

pdfluent-ccitt

A pure-Rust CCITT decoder for Group 3 and Group 4 facsimile-encoded bitmap images, used to decode CCITT-compressed images embedded in PDF documents.

pdfluent-ccitt is one of the open-source foundation crates used by the PDFluent commercial Rust PDF SDK. It is published as MIT OR Apache-2.0 so it can also be used standalone.

This crate is a fork of hayro-ccitt by Laurenz Stampfl. The fork is maintained by PDFluent for coordinated exact-version pinning across the workspace.

What this crate gives you

  • Decode CCITT G3 / G4 (one-dimensional and two-dimensional) bitmap data (the /Filter /CCITTFaxDecode PDF stream)
  • Pure Rust — memory-safe, no C dependency, compiles to WebAssembly

CCITT is the dominant compression scheme for monochrome scanned documents in older PDFs and for fax workflows.

What this crate is not:

  • Not a CCITT encoder
  • Not a generic image processing library

Usage

This crate is most often invoked transitively via PDFluent's PDF stream filtering layer. Direct usage:

[dependencies]
pdfluent-ccitt = "0.2"

For PDF-level rendering, prefer the pdfluent facade.

License

MIT OR Apache-2.0 — preserved from upstream hayro-ccitt.

Copyright (c) Laurenz Stampfl (hayro-ccitt)
Copyright (c) 2026 Innovation Trigger BV (PDFluent fork)

See LICENSE-MIT and LICENSE-APACHE.

Links