mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 20:43:18 -05:00
When a picture is read later in place of text that only names it, a raw bitmap whose pixels don't fill the size in its header is not taken: the text beside it is pasted, as for any picture that can't be read. A raw bitmap with no text beside it is still read and its error reported. read_pixels documents what happens when the renderers' store refuses the decoded pixels: they are dropped, and the PNG is decoded as any other image is. A render test covers that case.