mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-22 19:08:29 +00:00
* create: lift TIFF decoding buffer limit to allow print-sized images (#665) By default, the tiff crate limits decoded buffer size to 256 MiB. Set Decoder::with_limits(Limits::unlimited()) to match PNG decoding behavior and prevent 'decoder limits exceeded' on large images. * create: cap the TIFF decode buffer at 2 GiB instead of lifting it entirely (#665) A few bytes claiming enormous dimensions must still be refused, not allocated. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Brandon Thomas <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>