mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-03 17:24:42 +00:00
A one-pixel GIF on a huge logical screen decodes to a canvas that size, which the conversion then copied before splitting it into colour and alpha, so a few bytes could hold over a gigabyte. Screens past 16 Mpx are refused before decoding, and the decoded canvas is converted without a copy.