vectorcraft/docs
bflatastic 4204ce36db Image Trace: a palette of the picture's own colours
Color and Grayscale chose their colours from every pixel, so the blends along anti-aliased edges took palette
entries and traced as slivers, and with more colours asked for than the art has, k-means split flat colours
along their noise and the halves traced as specks all over each other.

- The palette is made from the picture's own colours: a pixel that lies between the pixels on opposite sides
  of it is a blend and counts for nothing (lines one pixel wide and noise are no blends).
- Colours that noise made of one colour merge: close colours whose pixels are mixed through each other. The
  bands of a gradient keep to themselves and stay apart.
- A blend pixel whose nearest palette colour is a third colour (halfway from navy to yellow lies an olive that
  is nearer to a green elsewhere) goes to the nearer of the two colours it lies between.
- Boxes are cut where their two sides differ most (Otsu's criterion) instead of at the median, which split the
  largest colour of flat art along its noise and left two smaller colours in one box.
- Colours are compared in Oklab when pixels are assigned and in k-means.

On each preset's own inputs, all sizes and variants (docs/image-trace-quality.md), before -> after:
- 16 Colors: 69.9 -> 4.2 paths, 1743 -> 66 anchors, outlines 5.08 -> 0.13 px off on average (largest 85.9 ->
  1.09), kinks 1376 -> 4.4, paths in a colour the art doesn't have 5.9 -> 0
- 6 Colors: 21.2 -> 4.0 paths, 4.44 -> 0.14 px off; 3 Colors: colour error 4.86 -> 0.43, 0.33 -> 0.09 px off
- High Fidelity Photo: 3636 -> 639 paths, 81,597 -> 25,604 anchors, colour error 2.50 -> 2.37; a 1 megapixel
  photo-like image 1.98 -> 0.42 s (51,389 -> 4,298 paths), a 4 megapixel one traced (27,583 paths) where it was
  refused
- Low Fidelity Photo: 128 -> 55 paths, colour error 2.59 -> 2.67; Shades of Gray: 91 -> 73 paths, 9.29 -> 9.33
2026-10-13 03:48:30 +07:00
..
brand Licensing: MIT OR Apache-2.0 files, NOTICE, ArtCraft brand terms 2026-10-04 10:05:13 -04:00
images README: refresh the screenshots and renders, add a Perspective Grid shot 2026-10-08 02:39:29 +07:00
affinity-validation.md AF.4 docs: leave out shop listings and sandbox notes 2026-10-09 22:20:39 +07:00
architecture.md Print: adopt craft-print while retaining Windows 7 support 2026-10-12 14:20:48 +07:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#411) 2026-10-07 21:22:04 -04:00
control-protocol.md Fix #1442: an unknown parameter key is an error naming it and the nearest accepted key 2026-10-13 02:54:33 +07:00
development.md Fix #1373: --control without a valid port stops the desktop before it starts 2026-10-12 18:56:36 +07:00
effects-parity.md 3D and Materials: the bevel and rotation options take their documented names, and the new messages are in every catalog 2026-10-13 00:52:40 +07:00
file-format-parity.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
gaps.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
hardware-parity.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
image-trace-quality.md Image Trace: a palette of the picture's own colours 2026-10-13 03:48:30 +07:00
localization-parity.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
mcp.md Fix #1471: making and restyling type reports text that doesn't fit its frame 2026-10-13 03:27:13 +07:00
plugins.md Plug-ins: numeric defaults stay in their declared range 2026-10-13 02:21:35 +07:00
releasing.md fix(packaging): RPMの依存を共有ライブラリ能力に修正 (#1275) 2026-10-12 07:26:02 +07:00
revolve.md M9: add live Revolve with artboard rotation and lighting controls 2026-10-10 23:44:46 +07:00
roadmap.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
shaper.md M2.9: add editable Shaper groups and shape orientation steps 2026-10-08 22:52:23 +01:00
target-app-parity.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
three-d.md 3D and Materials: curves follow a tolerance, and Rotate takes large outlines 2026-10-13 03:14:50 +07:00
type-parity.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
ui-parity.md Docs: ROADMAP 2026-10-12 adds #1434–#1497 (later merges of the day) 2026-10-13 03:25:37 +07:00
windows7.md Print: adopt craft-print while retaining Windows 7 support 2026-10-12 14:20:48 +07:00