mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 09:39:52 +00:00
With logoColors named, Flat Logo measured how flat the image is against the named colors. A solid pixel counts as flat only within 22 (RGB distance) of one of those colors or white. Flat art whose named colors were 20 levels off in every channel was refused as not flat, and the refusal score of a gradient changed with the names. The check now uses the image's own colors, found the same way as when no colors are named. It looks for as many colors as are named, with white, or as the Colors setting gives, whichever is more. How far the named colors are from the image's colors no longer changes whether the image is refused. This changes one existing behavior: an image with large areas of a color that was not named used to be refused, and it is now traced in the named colors. Docs: docs/image-trace-adjustments.md, docs/target-app-parity.md, the imageTrace.make params text.