mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-01 14:08:23 -06:00
A CCITT fax image that wasn't resampled was left as it was, so Group 3 images (the 1-D and 2-D codings fax software writes) stayed Group 3. Group 4 codes each row against the one above and is usually much smaller. Now only Group 4 alone skips decoding; Group 3 is stored again as Group 4 when that is smaller as stored, and Retain still keeps it. It reads an image's CCITT parameters (its /DecodeParms entry with Table 11's defaults) through pdfcraft_cos::Document::fax_params, from #4384. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BfMGHQNgdq5yf5tKZHGR3z