mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 20:25:02 +00:00
decode_ccitt_raw shared decode_ccitt_within's heuristic of reading Group 3 rows with a leading end-of-line code unaligned even with EncodedByteAlign, so it read other rows than PostScript's CCITTFaxDecode filter (an aligned RTC became one more row, and fewer bytes were consumed). The raw API now reads rows on bytes exactly when encoded_byte_align is set, as hayro-ccitt does; decode_ccitt_within keeps its heuristic.