mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 11:23:43 +01:00
A distorted CMYK image whose opacity mask is a gray image with the same corners writes the mask as the image's /SMask, and every piece of its mesh draws that one image. The image was resampled for the size its transform places it at, before the pieces' shared size was known, so with downsampling on every piece stretched a smaller image across the corners. The masked image is now resampled for the size the pieces share, as the same image without a mask is, and the pieces are drawn from the same expansion they were measured on.