mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 22:33:08 +00:00
In a legacy .ai gradient definition, each color stop holds only its color, midpoint and ramp point, and VectorCraft's reader opens such a gradient as a Classic gradient. A Perceptual gradient was written with its own stops, so the file opened with different colors between them and no warning. The writer now treats a Perceptual gradient as it treats a gradient mixed around the hue wheel: the colors on its curve become stops of their own in process colors, at most 256, in a definition of their own, with a warning that names Perceptual gradients.