mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 22:34:43 +00:00
A stored texture longer than the codec's default 2^18-pixel side still reads back, and a gray PNG is not expanded to RGBA just to get its levels. The AI writer and the EPS scene refuse an oversized image from its header, then decode within MAX_IMAGE_PIXELS, keeping the pixels at their stored depth. Flatten's see-through check uses ImageBlob's allowance, and links.unembed decodes within MAX_RASTER_ALLOC.