Files
pdfcraft/crates/create/src
Dylan M. Taylor aa6eb261f3 fix(create): decode an exported image or mask no further than its samples need
Image export decoded every lossless image and mask with the generic 1 GiB allowance, so a few KB of Flate on an image of one pixel could inflate to a gigabyte before unpack read the first byte. Each stage is now bounded by what the image's size, components and depth need, as Optimize and redaction already do.
2026-11-02 21:14:27 -05:00
..