pdfcraft/contributors
Krzysztof Cieślik 627d822709
create: lift TIFF decoding buffer limit to allow print-sized images (#665) (#681)
* 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 <noreply@anthropic.com>

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:12:10 -04:00
..
contributors.json Bump version to 0.5.0 (from 0.4.0) for release; refresh contributors 2026-10-09 21:02:20 -04:00
people.toml create: lift TIFF decoding buffer limit to allow print-sized images (#665) (#681) 2026-10-10 06:12:10 -04:00