mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-28 11:47:21 -06:00
proxy_png decoded with image's default limits and no header check, while every other decode path in the project uses MAX_RASTER_ALLOC counted as RGBA. The header now decides first, and the decoder gets the same budget, so an image too large to draw gets no preview by header alone, and a large-but-in-cap image the app itself can open now gets its preview. Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>