mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-01 22:19:10 -06:00
- Redaction decodes an image no further than twice its raster plus a byte a row, meant for ASCIIHex text under Flate; hex text broken into lines is a little more, so such an image was removed whole instead of cleared (already so on main). It is three bytes for each now, as the optimizer allows. - Tests: grey stored as hex text in lines under Flate, and RGB behind a filter array (which a fax image's bound would refuse), are cleared; decoded_image_within gives a fax image no more rows than its bound holds. 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