vectorcraft/crates/trace
bflatastic 62036eac6c Image Trace: Flat Logo takes the tones of an unevenly lit colour for one colour
A scan's paper is a tenth darker in one corner than in another. Flat Logo found
each tone of it as a colour of its own and traced the bands and the specks
between them: on the scanned inputs 470 paths, 21 px from the art on average.

Two palette colours are now one when the pixels between them are no fewer than
a third of those at the lesser of the two: flat colours leave only their shared
edge between them, tones of one colour fill the gap. Whether the image is flat
art at all is still asked of the tones as found.

Flat Logo on its inputs, all sizes and variants: 3.106 -> 0.090 px off on
average, 88.5 -> 0.82 px at most, 69.9 -> 3.9 paths; clean, aliased, blurred
and noisy art as before.
2026-10-13 13:01:01 +07:00
..
src Image Trace: Flat Logo takes the tones of an unevenly lit colour for one colour 2026-10-13 13:01:01 +07:00
tests/quality Image Trace: Gradients 2026-10-13 12:16:03 +07:00
Cargo.toml Image Trace: stroked centre lines lie in the middle of their ink and are as wide as it 2026-10-13 09:36:47 +07:00