mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 20:04:37 +00:00
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.