mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-31 21:48:09 -06:00
group_3_fax_images_become_group_4 coded its rows only off bytes. It now also stores again rows on bytes: Modified Huffman (no end-of-line codes), and codes whose fill ends each on a byte, as TIFF writes them, at /K 0 and 1 without /EndOfLine, which reading by that flag misread (the test fails with that rule). Each becomes Group 4, smaller, decoding to the picture. The page is compared with the picture in Flate rather than with itself before: PdfCraft's bootstrap renderer draws TIFF's layout (the fill ending each code on a byte) as other rows, at every /K and with /EndOfLine or not (black box), so storing it as Group 4 corrects what PdfCraft shows rather than keeping it. (Redaction removes such images whole, for that reason, since #4384's "redaction removes Group 3 on bytes whole".) From reviews with the pdfcraft-review skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P6yUtvWGPsJpMLyh6pxSXG