mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-03 00:59:53 +00:00
A TIFF's pages were each capped at 2 GiB but all kept in memory until embedded, so many small directories sharing one compressed strip could ask for many times that; embedding one image also decoded every page. The pages of one TIFF are now refused past 4 GiB together, and image_xobject reads only the first page.