mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 22:33:08 +00:00
High Fidelity Photo traced with a Limited palette of 64 colors as overlapping shapes. It now traces with Palette Full Tone at Color detail 85 and Method Abutting; Paths, Corners and Noise stay 50, 50 and 5. These are VectorCraft's own values. Palette Full Tone splits its colors until none is wider than its limit, then, while it has fewer colors than Color detail's value, splits the narrower ones too, where the image has that many. Its colors then merge as one only when they look alike: thoroughly mixed and less than 5 apart in Oklab x 100, or mixed in patches (compression blocks) and less than 1.5 apart. This applies to every Full Tone trace, so an existing Full Tone trace or saved preset traces differently when traced again. Automatic's continuous-tone colors keep the earlier count and the RGB merge. On 19 photos, cartoons and synthetic shapes, the mean pixel difference summed over the inputs falls from 80.5 to 65.6 levels: by more than 1% on 14 inputs and by less than 1% either way on the other 5. Anchors rise 1.66 times, the SVG size 1.31 times and the trace time 1.9 times; flat synthetic art costs the most (12 to 400 anchors on one image). Low Fidelity Photo, 16 Colors, 6 Colors, Black and White Logo and Auto Color give byte-identical results. Supersedes #2699 by andeecollard, which moved the photo presets to Full Tone.