mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-01 05:58:12 -06:00
The decoders leave /Crypt out wherever it stands (Stream::filters), so a chain of /Crypt and eight other filters decodes, but with_direct_parms counted nine and left its parameters as they were: a predictor given by reference was then skipped. Only the other filters count now, and a /Crypt entry is null in the copy, as no decoder reads it. Tests cover that chain and one exactly as long as a decoder takes. 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