mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 20:19:40 +00:00
Embedded and linked images read their pixels with decode_within: the size from the header against the allowance first (as samples and as RGBA, #1717), then the pixels as stored. map_rgb, sampling, coverage, link previews and checked_with_pixels all go through it. decoded_pixels_are_those_the_image_crate_read compares PNG, GIF, WebP, TIFF and BMP at each depth the image crate writes with its pixels, and JPEG within two steps, including the pixels checked_with_pixels hands on. The 11,586² allowance test is a compact PNG; craft-image-codecs refuses a GIF whose unbacked logical screen is past 256 MiB.