vectorcraft/crates/trace/src
bflatastic e0ba6e77d1 Image Trace: gradients grown over noise and soft rims
Gradients (off unless asked for) found a blurred or noisy linear gradient in
part or in pieces, with bands around it.

The areas that may be a gradient are tried largest first, and one that is a
gradient is grown over every pixel next to it whose colour is within 10 levels
of the gradient's there: the pixels noise put a little off, a soft rim, the
pieces noise cut off it.

Linear-gradient inputs with Gradients on, paths beside the gradient, before ->
after: blurred 3.0 -> 0.5 (6 Colors) and 55.5 -> 0.5 (High Fidelity Photo);
noisy 11.0 -> 0.5 and 23.5 -> 1.5; scanned 5.5 -> 3.0 and 46.5 -> 37.0; clean
and aliased as before; dE within 0.02. No gradient on any input that is flat
colour, with any preset (the harness fails if there is one).
2026-10-14 07:14:07 +07:00
..
logo Image Trace: stroked lines get square caps where their ink is cut square 2026-10-14 06:43:57 +07:00
centerline.rs Image Trace: stroked lines get square caps where their ink is cut square 2026-10-14 06:43:57 +07:00
contour.rs Image Trace: a 16 megapixel photo is traced in 0.9 GB, not 3.9 2026-10-13 06:38:10 +07:00
fit.rs Image Trace: Shapes finds rounded rectangles and shapes in aliased, blurred and scanned art 2026-10-14 06:43:57 +07:00
gradient.rs Image Trace: gradients grown over noise and soft rims 2026-10-14 07:14:07 +07:00
group.rs Image Trace: enhanced versions of the presets 2026-10-14 06:43:57 +07:00
lib.rs Image Trace: enhanced versions of the presets 2026-10-14 06:43:57 +07:00
mosaic.rs M12.7: Object → Create Object Mosaic… (trace::mosaic tile averages; columns/rows, new size, spacing, gray, delete raster; follows the image transform) 2026-10-02 08:16:36 -04:00
quantize.rs Image Trace: photos are smoothed within their tones first, and stacked layers go by lightness 2026-10-13 04:28:02 +07:00
shapes.rs Image Trace: enhanced versions of the presets 2026-10-14 06:43:57 +07:00
smooth.rs Image Trace: photos are smoothed within their tones first, and stacked layers go by lightness 2026-10-13 04:28:02 +07:00
subpixel.rs Image Trace: Shapes, and corners whose pixel is mostly outside the shape 2026-10-13 10:25:05 +07:00
tests.rs Image Trace: stroked lines get square caps where their ink is cut square 2026-10-14 06:43:57 +07:00