Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@ API in particular should be treated as unstable release to release).

## [Unreleased]

## [0.3.0] - 2026-10-11

### Changed

- **Traces sit closer to the artist's file in every gate condition, and much closer on noisy input.** Against v0.2.7 on the regression gate (scorer 4, 246 icons, all eight conditions, every gated axis better or level):
- Quality dE00 −12.5 % at 128 px, −12.1 % at 512 px, −15.2 % at 512 px opaque and −10.4 % on the resized quality-80 JPEG tier; geometric distance from the artist's edges −3.3 to −8.1 %; distance from the artist's parameter count −25 to −36 %; parameters per artist parameter 1.47 → 0.91, 1.72 → 1.12, 1.96 → 1.32 and 2.78 → 1.77.
- Fast dE00 −9.1 to −11.6 % in every condition; on the JPEG tier, distance from the artist's control-polygon turning −66 % and parameters 7.29 → 4.13 per artist parameter.
- Quality takes about 1.3× v0.2.7's time (stroke detection on by default, faces completed behind their covers), measured on a shared machine; Fast's time is unchanged.
- Of the gate's human statistics (how a file is drawn: joins, handles, grid, ties, layers; `bench/human_stats.py`), 25 of the 27 measured move closer to the artist's files in Quality at 512 px opaque and 23 on the JPEG tier, by more than 2 %; one and two move further.
- **`--restore auto` is the default in Quality mode.** `Args::restore` is now an `Option`: unset, `Args::restore_mode` resolves it to `auto` in Quality mode when the build can restore (the network compiled in, or `--restore-command`) and to `off` in Fast and balanced and in a build with nothing to restore with, which then traces exactly as `--restore off` does; a given `--restore` always wins. On a clean input `auto` makes no probe without a sign of compression, so the default costs a clean PNG the ringing score alone (about 2.7 ms at 512 px); the gate's builds carry no network and its numbers do not move.
- **Quality mode takes the codec's damage out of its labels on a lossy intake.** The MDL palette founded the codec's tints of an ink as inks of their own (on `openmoji/E056`, three tinted blacks beside black: 674 faces, 41 colours, 250 subpaths where the artist drew four colours), and the halos Fast's pass removes cut Quality's strokes into fragments. On an opaque lossy intake the despeckled labels now go through Fast's halo pass, in a strict form that holds every thin component to the strip rule and the segment test, through its soft merge of thin variants, and through a merge of codec variants of its own: an ink within 8 levels of a heavier one in luma-weighted YCbCr, and within the soft floor, is that ink (`fast/codec.rs`). `quality-web` against the build before (246 icons, the gate's distance axes): dE00 −6.83 %, `turning_gap` −36.57 %, `ratio_gap` −11.89 %, geom −3.73 %; openmoji's colours and subpaths per icon 10.6 and 38.0 → 5.7 and 12.8 (artists: 3.9 and 11.7). A clean intake is byte-identical, and Fast's output is unchanged. A restored image (`--restore`) does not take it: the restorer took the damage out, and on the restored path it read dE00 +0.24 %; `ColorOptions::restored` (set by the CLI's restorer pre-pass) says so.
- **Counters are cut out of their glyph, and square rectangles share their paint's path (all modes).** On an opaque page, the counter of a letter O was a page-coloured element painted over a solid disc, and every rectangle was an element of its own (`material-icons/border_left`: seventeen `<rect>` where the artist has one path). Now:
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ members = [
exclude = ["studio/src-tauri"]

[workspace.package]
version = "0.2.7"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
rust-version = "1.88"
Expand All @@ -43,15 +43,15 @@ too_many_lines = "warn"
[workspace.dependencies]
# Internal crates carry a version as well as a path: crates.io refuses a published crate
# whose dependency is a bare path.
inkvec-core = { path = "crates/inkvec-core", version = "0.2.7" }
inkvec-verified = { path = "crates/inkvec-verified", version = "0.2.7" }
inkvec-fit = { path = "crates/inkvec-fit", version = "0.2.7" }
inkvec-trace = { path = "crates/inkvec-trace", version = "0.2.7" }
inkvec-sr = { path = "crates/inkvec-sr", version = "0.2.7" }
inkvec-restore = { path = "crates/inkvec-restore", version = "0.2.7" }
inkvec-svgmin = { path = "crates/inkvec-svgmin", version = "0.2.7" }
inkvec-cli = { path = "crates/inkvec-cli", version = "0.2.7" }
inkvec = { path = "crates/inkvec", version = "0.2.7" }
inkvec-core = { path = "crates/inkvec-core", version = "0.3.0" }
inkvec-verified = { path = "crates/inkvec-verified", version = "0.3.0" }
inkvec-fit = { path = "crates/inkvec-fit", version = "0.3.0" }
inkvec-trace = { path = "crates/inkvec-trace", version = "0.3.0" }
inkvec-sr = { path = "crates/inkvec-sr", version = "0.3.0" }
inkvec-restore = { path = "crates/inkvec-restore", version = "0.3.0" }
inkvec-svgmin = { path = "crates/inkvec-svgmin", version = "0.3.0" }
inkvec-cli = { path = "crates/inkvec-cli", version = "0.3.0" }
inkvec = { path = "crates/inkvec", version = "0.3.0" }
robust = "1.1"
rayon = "1.10"
kurbo = "0.13"
Expand Down
2 changes: 1 addition & 1 deletion bindings/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Inkvec HTTP service",
"version": "0.2.7",
"version": "0.3.0",
"description": "Raster-to-SVG tracing over HTTP. Every option is inkvec::Options end to end: this document, and the query parameters on POST /trace below, are generated from the same JSON Schema the Rust facade writes (bindings/options.schema.json) -- nothing about an option is restated here."
},
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion packages/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
-->
<groupId>com.logolabs</groupId>
<artifactId>inkvec</artifactId>
<version>0.2.7</version>
<version>0.3.0</version>
<packaging>jar</packaging>

<name>inkvec</name>
Expand Down
4 changes: 2 additions & 2 deletions packages/npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logolabs/inkvec",
"version": "0.2.7",
"version": "0.3.0",
"description": "Raster to SVG tracing by minimum description length: PNG, JPEG, WebP or raw RGBA in, an SVG string out. WebAssembly, for browsers and Node.js.",
"license": "Apache-2.0",
"author": "LogoLabs",
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/src/version.generated.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// GENERATED by packages/npm/build.mjs from the workspace Cargo.toml. Do not edit.
export const VERSION = "0.2.7";
export const VERSION = "0.3.0";
2 changes: 1 addition & 1 deletion studio/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[package]
name = "inkvec-studio-core"
description = "Inkvec Studio's shared core: tracing, measuring, palettes, export and fabrication, for the desktop app and its browser build."
version = "0.2.7"
version = "0.3.0"
edition = "2021"
rust-version = "1.88"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions studio/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion studio/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "inkvec-studio",
"private": true,
"version": "0.2.7",
"version": "0.3.0",
"type": "module",
"description": "Inkvec Studio: turn a raster logo into an SVG, exactly. The desktop app (Tauri) and its browser build, Inkvec Studio Lite.",
"license": "Apache-2.0",
Expand Down
28 changes: 17 additions & 11 deletions studio/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion studio/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ members = ["../core", "../wasm"]
[package]
name = "inkvec-studio"
description = "Inkvec Studio: turn a raster logo into an SVG, exactly, and minimise SVGs you already have."
version = "0.2.7"
version = "0.3.0"
edition = "2021"
rust-version = "1.88"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion studio/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Inkvec Studio",
"version": "0.2.7",
"version": "0.3.0",
"identifier": "org.logolabs.inkvec.studio",
"build": {
"beforeDevCommand": "npm run dev",
Expand Down
2 changes: 1 addition & 1 deletion studio/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[package]
name = "inkvec-studio-wasm"
description = "Inkvec Studio Lite: the Studio's core in the browser, as WebAssembly."
version = "0.2.7"
version = "0.3.0"
edition = "2021"
rust-version = "1.88"
license = "Apache-2.0"
Expand Down
Loading
Loading