mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-31 07:39:08 +00:00
The optimize crate doc and MonoSettings named only 1-bit, CCITT and eight-bit grey images; doc_optimize's mono said Group 4 only; the M11 milestone row stopped at Group 4 compression. They now include downsampling (halftones aside), Group 3 to Group 4, 1-bit Flate, and black-and-white RGB and indexed images that use only palette entries 0 and 1, packed to one bit. That last isn't "two-entry", as the roadmap and the downsampling parity note had it: an indexed image packs whatever its palette's size, when its samples are 0 and 1. The mono-compression note says byte-aligned Group 3 with end-of-line codes but none before the first row is stored again as PdfCraft draws it, which at /K 0 may be other rows than were coded. 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