mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The documented option "replaces slightly curved lines with straight lines and snaps lines near 0 or 90 degrees to absolute 0 or 90 degrees" (helpx, Image Trace panel options); ours did the first half only. - With Snap Curves To Lines, a straight piece at least 2 px long and within 2.5 degrees of level or upright is made exactly so, by moving its ends across it to their mean (the page gives no angle: 2.5 degrees is our choice). The pieces next to a moved end follow it. - A junction other regions share stays where it is, so abutting regions still have one curve along their edge; a line between a junction and a free end is levelled to the junction. - The harness gains askew inputs (a rectangle, a plus sign and two lines, 1 to 2 degrees off level and upright) and an "upright %" column: the share of the outline length that is exactly level or upright. On the clean askew inputs (docs/image-trace-quality.md): Black and White Logo and Technical Drawing, the presets with the option on, go from 0% to 91% and 95% of their outline exactly level or upright. Their outlines are then 0.49 and 0.59 px from the art as drawn where they were 0.05 (4.2 px at the far end of a 300 px side turned 1.5 degrees): that distance is what the option is for. Presets without the option are unchanged.