mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
A pixel on the edge of a cut-out image with an alpha of 128 or more was traced with its own color. When that color was a darkened edge tone, it took whichever palette color lay nearest, and the edge traced as 1 px slivers of a color that appears nowhere near it. In Color and Grayscale, a pixel with an alpha of 128 to 254 next to a pixel under half opaque now takes a color of the fully opaque pixels within two pixels of it when its own color is that color or a darker shade of it, counting only pixels it reaches without crossing a transparent gap; of several such colors, it takes the one the most of those pixels have. It keeps its own color when one of those pixels has it, or when its color is not a shade of any of theirs, so a thin semi-transparent outline of another color stays as it is. Ties go to the color nearest its own, by its gray in Grayscale. Opaque images trace as before.