mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 10:46:46 +00:00
When the colors of an image lie on one line, as a pale gray ground, a gray panel and a charcoal disc do, an edge pixel between the panel and the disc is also reproduced by a mix of the ground and the disc. Flat Logo switches such a pixel to the mix of the classes beside it only when its neighbors lie on both sides of the class it drops, which a class beyond both classes of the edge never satisfies. A charcoal disc on a gray panel on a paler ground traced with 28 slivers of the ground, of at most two pixels each, around it when its edges were sharp, and with one sliver when they were blurred by 0.7 pixel, with the colors found or named. A pixel now also takes the mix of the classes beside it when the class it drops lies beyond both of them on their line, the pixel's own neighbors lie on each side of it, no neighbor lies past the nearer of the two toward the dropped class, and a chain of neighbors, each nearer that class than the one before, leads from the pixel, in at most 6 steps, to that class's color or to a flat area of that class. A class named some levels off the color of its flat areas still counts. The pixels of a pale line on the disc, whether one pixel wide, blurred over three pixels or falling between two pixels, and the edge of a gap of the ground's color between the disc and the panel keep the ground in their mixes. An edge blurred by a pixel or more can still leave slivers of the ground. Docs: docs/image-trace-adjustments.md, docs/target-app-parity.md.