Inlay

Vector shapes, cut to fit.

Inlay traces logos, illustrations, line art and pixel art into SVG. Every edge between two colors is traced once and shared by both shapes, so they fit together exactly, like inlaid wood.

Trace an image
npm install inlaytrace

Free and open source. Runs in your browser: your image is never uploaded.

Drag to turn the pixels into shapes. The dots are the nodes Inlay places.

Shapes a designer would draw

A 48 px square of the badge: the left peak and its snowcap. Inlay keeps the straight edges straight and the summit sharp; a tracer that smooths each color's outline on its own lets them wander. The dots are each tracer's nodes.

The source artThe clean art. Both tracers got it as a 640 px JPEG
Inlay63 px differ from the source, 9 nodes
VTracer96 px differ from the source, 9 nodes
The whole badge, rendered at 4× and compared with the clean art
InlayVTracer
Pixels wrong0.54%0.85%
Nodes181271
Time for a 2048 px image1.3 s17.5 s

VTracer is the excellent open-source tracer, run with the settings the Logo preset used before Inlay replaced it. How these are measured.

Two ways to use it

In the app

Drop in a PNG, JPG or WebP and let the guide pick a look, or tune it yourself. Compare the trace with the original, fix colors and shapes, then download an SVG, PDF, EPS or PNG, a sticker with a cut line, or a zip with one SVG per color for screen printing and vinyl.

Open the app

In your code

import { trace, toSvg } from 'inlaytrace'

const result = trace(imageData, { preset: 'logo' })

result.paths // [{ d, fill }, …]
toSvg(result) // '<svg …>'

Pure TypeScript, no WebAssembly: browsers, Web Workers and Node. Getting started

Support Inlay on Ko-fi (opens in a new tab)