mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 09:39:52 +00:00
Color Mask checked the whole document for a grayscale image colorized with a process color only when the document passed that check before the run. With another such image already in the document, the check was skipped, and a process-colorized gray image could take masked pixels with transparency. Each image whose mask changes is now checked on the pixels the new mask shows, made from the image's own pixels, so an image elsewhere in the document no longer affects the result. A mask that hides nothing keeps the image's own pixels and is still set. When new pixels replace a masked gray image's own pixels under a process color, the mask made for them hides nothing, and Apply Color Mask refuses them. The check shares its colorize predicate with paint's check_colorized.