Crates.io | ccitt-t4-t6 |
lib.rs | ccitt-t4-t6 |
version | 0.1.0 |
source | src |
created_at | 2020-11-23 15:50:42.453183 |
updated_at | 2020-11-23 15:50:42.453183 |
description | Implementation of ITU-T T.4 & T.6 (CCITTFaxDecode) |
homepage | https://xiphoseer.github.io/sdo-tool/implementation#ccitt-t4-t6 |
repository | https://github.com/Xiphoseer/sdo-tool/tree/main/crates/ccitt |
max_upload_size | |
id | 315428 |
size | 133,947 |
This crate aims to implement the T.4 and T.6 standard of the ITU’s Telecommunication Standardization Sector (ITU-T). These documents decribe a family of encoding/decoding algorithms for monochrome i.e. black-and-white bitmaps, which have been created for fax machines.
They are also used in the Adobe PDF file format for the encoding
of monochrome bitmap images as the /CCITTFaxDecode
stream filter.
This crate currently implements an Encoder and a Decoder for
the Group 4 2D coding scheme specified in T.6. This is sufficient
for creating PDF documents that use CCITTFaxDecode
to draw
Type3 font glyphs. If you want to support non-negative values of
the K
decode parameter, i.e. Group 3 encoding, feel free to submit
a Pull Request.