mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-31 21:48:09 -06:00
The optimizer's images decode no further than twice their samples plus a byte a row, meant for ASCIIHex text under Flate; but hex text broken into lines, as it usually is, is a little more than twice, so such an image was left alone as if it were a decompression bomb (a 300 dpi letter scan stayed Flate). It is three bytes for each now, a separator for every two digits, and a test stores both images as hex text in lines of 64 digits. 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