Hermogen vs. VTracer: Semantic Geometric Primitives vs. Fast Open-Source Contour Tracing
An honest, data-backed comparison of Hermogen and VTracer 1.0.0 across 61 real-world brand logos at 256px and 512px—native primitives and subpixel fidelity vs. millisecond speed.
Page outline
VTracer (visioncortex/vtracer, tested at v1.0.0) is the modern open-source standard for fast, local, full-color raster-to-SVG conversion in Rust (MIT / Apache-2.0, with CLI, Python, and WebAssembly bindings). Version 1.0 adds curve simplification (--simplify) and SVG optimization (--optimize 2) on top of its classic high-speed stacked color-clustering pipeline.
Hermogen is also written in native Rust, but solves a fundamentally different problem: instead of tracing pixel-clustered regions into generic Bézier chains, Hermogen reconstructs parametric geometric primitives (<circle>, <rect rx>, <ellipse>, <line>), editable centerline strokes, amodally completed layers, and typographically aligned wordmarks directly from continuous antialiased coverage. See How Hermogen Works for the full pipeline breakdown.
At a Glance: Hermogen vs. VTracer 1.0.0
| Criterion | Hermogen | VTracer 1.0.0 (measured Dec 2026) |
|---|---|---|
| Core approach | Premultiplied coverage unmixing + analytical SDF/MDL primitive reconstruction | Pixel-level color clustering + stacked boundary spline tracing (+ optional --simplify) |
| Language & deployment | Native Rust library & CLI (SIMD + multithreading, CPU-only) | Native Rust crate, CLI, Python binding, and WebAssembly (wasm32) |
| License & cost | Local engine (commercial packaging TBD) | Free / Open Source (MIT / Apache-2.0) |
| Native SVG primitives | Yes—<circle>, <rect rx>, <ellipse>, <line> (138 across 61 logos at 256px) | None (0)—emits filled <path> cubics only |
| Editable centerline strokes | Yes—uniform stroke-width, caps, joins & interlocking ring weaves (113 at 256px) | None (0)—strokes are traced as closed filled outlines |
| Subpixel AA accuracy | 98.55% / 99.09% FG-IoU (0.144 / 0.115 px P95 at 256 / 512px) | 90.38% / 94.81% FG-IoU (0.685 / 0.340 px P95 on transparent PNGs) |
| SVG compactness | 1,761 B / 276 uDOF (256px), 2,040 B / 309 uDOF (512px) | Default: 3,861 B / 808 uDOF (256px); --simplify 1.5: 1,806 B / 349 uDOF |
| Speed (measured on Apple Silicon) | Seconds (analytical SDF optimization & regularization) | Blazing fast: 8.0–8.3 ms/logo (256px), 13.4–13.6 ms/logo (512px) |
| Scope (photos / posters) | Flat solid-color logos, marks, icons, and typography only (v1) | Broad: handles multi-color illustrations, scans, and high-resolution posters |
61-Logo Head-to-Head Benchmark (Measured Dec 2026)
Methodology
- Identical inputs: All 61 real-world flat-color brand logos rasterized via
resvgto256pxand512pxtransparent PNGs with uniform 6% margins. - VTracer modes tested:
vtracer --preset poster(Default) andvtracer --preset poster --simplify 1.5 --optimize 2(VTracer 1.0's compact curve-simplification mode). - Identical 1024px evaluation: Evaluated against the padded ground-truth SVGs at
1024pxviaeval_competitor_svgs.
Results at 256px Input (Mean across 61 Brand Logos)
| Metric (256px input → 1024px eval) | Hermogen | VTracer 1.0 (poster) | VTracer 1.0 (--simplify 1.5 --optimize 2) |
|---|---|---|---|
| SVG Size (mean bytes) | 1,761 B | 3,861 B (2.19×) | 1,806 B (1.03×) |
usvg Parsed Nodes (mean) | 71.7 | 141.2 (1.97×) | 64.8 (0.90×) |
usvg-normalized DOF (mean) | 276 | 808 (2.93×) | 349 (1.26×) |
| Native Primitives (total across 61) | 138 | 0 | 0 |
| Editable Centerline Strokes (total) | 113 | 0 | 0 |
| Boundary P95 (lower is better) | 0.144 px | 0.685 px | 0.870 px |
| Boundary Max (lower is better) | 0.653 px | 1.708 px | 1.799 px |
| Crisp-1024 FG-IoU (higher is better) | 98.55% (61/61 wins) | 90.38% | 89.42% |
| 1024-DSSIM (lower is better) | 0.00337 | 0.04899 | 0.05867 |
| Composite Score / Pass% | 88.71 / 86.9% | 46.30 / 0.0% | 45.60 / 0.0% |
| Mean Runtime | ~19 s (full 6-stage SDF) | 8.3 ms | 8.0 ms |
Results at 512px Input (Mean across 61 Brand Logos)
| Metric (512px input → 1024px eval) | Hermogen | VTracer 1.0 (poster) | VTracer 1.0 (--simplify 1.5 --optimize 2) |
|---|---|---|---|
| SVG Size (mean bytes) | 2,040 B | 5,546 B (2.72×) | 2,232 B (1.09×) |
usvg Parsed Nodes (mean) | 79.1 | 195.4 (2.47×) | 76.3 (0.96×) |
usvg-normalized DOF (mean) | 309 | 1,131 (3.66×) | 417 (1.35×) |
| Native Primitives (total across 61) | 108 | 0 | 0 |
| Editable Centerline Strokes (total) | 65 | 0 | 0 |
| Boundary P95 (lower is better) | 0.115 px | 0.340 px | 0.427 px |
| Boundary Max (lower is better) | 0.460 px | 0.938 px | 0.970 px |
| Crisp-1024 FG-IoU (higher is better) | 99.09% (61/61 wins) | 94.81% | 94.17% |
| 1024-DSSIM (lower is better) | 0.00114 | 0.01873 | 0.02343 |
| Composite Score / Pass% | 92.35 / 91.8% | 57.55 / 0.0% | 63.88 / 0.0% |
| Mean Runtime | ~63 s (full 6-stage SDF) | 13.6 ms | 13.4 ms |
Key Architectural Differences Observed in the SVGs
1. Transparent Anti-Aliasing Edge Bloat vs. Continuous Coverage Unmixing
Inspecting VTracer 1.0's output on transparent brand logo PNGs explains the 0.685 px P95 error at 256px: VTracer treats every pixel with alpha > 0 as solid foreground, inflating outer contours outward by +1.0 to +1.4 full pixels (for example, the top of the Figma mark starts at y = 12.6 in VTracer vs. 13.98 in Hermogen and ground truth). Compositing inputs over white before running VTracer eliminates the alpha bloat, but introduces an opaque #FEFEFE background rectangle and spawns spurious anti-aliasing ghost paths (such as #282828 edge fragments on the pure black Nike swoosh). Hermogen unmixes continuous premultiplied coverage directly and recovers exact subpixel boundaries without bloating or ghost colors.
2. Chained Splines vs. Native Geometric Primitives & Regularization
In VTracer's default --preset poster mode, even a single straight horizontal edge of the Deutsche Bahn rounded rectangle splits into 15+ tiny chained relative cubics (808 mean uDOF at 256px, 1,131 at 512px). Enabling --simplify 1.5 --optimize 2 brings VTracer's node count down impressively (64.8 nodes at 256px), but at the cost of further contour drift (P95 = 0.870 px, IoU = 89.42%)—and still produces 0 native primitives and 0 editable centerline strokes.
3. Where VTracer 1.0 Is Stronger
- Orders-of-magnitude faster runtime: At
8–13 msper logo, VTracer is roughly1,000×–4,000×faster than Hermogen's full analytical SDF + regularization pipeline—ideal for real-time interactive previews or high-volume batch jobs on complex posters. - Permissive open-source ecosystem: Battle-tested
MIT / Apache-2.0crate with ready-made Python and WebAssembly (wasm32) targets. - Broad multi-color artwork: Handles complex multi-color illustrations, photographic posters, and high-color scans outside Hermogen's flat-color logo scope.
Which One Should You Choose?
Choose Hermogen if:
- You are vectorizing logos, brand marks, UI icons, badges, or technical diagrams and need subpixel-accurate boundaries (
98.6%–99.1%FG-IoU), native primitives (<circle>,<rect>,<line>), editable centerline strokes, and clean typography.
Choose VTracer if:
- You need a free, permissively licensed (
MIT/Apache-2.0), millisecond-fast color tracer (including Python or browser WASM targets) for multi-color illustrations or posters where raw filled splines are sufficient.
Reproducibility
- Evaluated with
vtracer-cli 1.0.0(--preset posterand--preset poster --simplify 1.5 --optimize 2) on the identical 61-logo256pxand512pxPNG corpus viacargo run --release -p hermogen-bench --example eval_competitor_svgs.