# Centerline trace online

> Open a line drawing, handwriting or a thin-line logo. Instead of an outline around each stroke you get one path along its centre: faster to engrave or score, and what pen plotters and Cricut pens need.

Human page: https://unmakelabs.com/en-us/centerline-trace-online/. This is the version for AI agents.

## What it does

Centerline trace online: one line through the middle of every stroke Open a line drawing, handwriting or a thin-line logo. Instead of an outline around each stroke you get one path along its centre: faster to engrave or score, and what pen plotters and Cricut pens need.

## Outline vs centre line

Normal tracing draws the outside of a stroke, so a laser goes round each line twice and a pen draws a double line. A centre line is a single open path down the middle of each stroke, where the line was drawn in the first place.

## How it's made

The dark strokes are thinned down to a one-pixel skeleton, little side branches shorter than the line width are cut off, and each branch is smoothed and fitted with curves. Closed shapes like an O stay closed.

## Facts

- **Output:** Open single-line paths, blue (score)
- **Width:** Line width measured and shown
- **Files:** SVG, DXF (open polylines), PDF
- **Best on:** Even, dark lines on a light background

## How a person does it

1. **Open the drawing.** A scan or photo of a line drawing, or a PNG. Single line is preselected.
2. **Check the lines.** Compare before / after; raise Smoothness for calmer curves, or Remove specks for dusty scans.
3. **Download.** SVG for LightBurn (score layer), Inkscape or a plotter; DXF for CAD.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/centerline-trace-online/?src=https://unmakelabs.com/apps/vectorize/samples/logo.png`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public picture URL>&size=<width in mm>&mode=laser|vinyl|cnc|line` (the picture must allow CORS; nothing else goes in the link).

Embed: `<iframe src="https://unmakelabs.com/embed/vectorize/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data (coming)

the traced paths as SVG (layer per colour, mm), DXF R12 (closed polylines per layer) and PDF, with the size, node count and the closed-path check (from the page today; an API copy of the same engine, vectorize_logo, is planned)

```
curl -s -X POST "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/vectorize/jobs" -H "Content-Type: application/json" -d '{"file_url": "https://unmakelabs.com/apps/vectorize/samples/logo.png", "size_mm": 100, "mode": "laser"}'
```

## Good to know

Strokes of very different widths, filled areas and shading don't have one centre: they come out as several lines. Ink drawings with even lines work best. Every centre line is checked: no path crosses itself.

## Not done by this tool

- Doesn't make single-line fonts from typed text
- Doesn't keep line widths (every path is one hairline)
- Doesn't fill areas with hatching
- Doesn't upload or keep your picture

## Value

Turns a logo, drawing or photo of a sign into clean vector paths in the browser, for lasers, vinyl cutters and CNC: finds the picture's flat colours (automatic or 1-8, blend-aware so anti-aliased edges never become extra colours), leaves the background out, removes specks, traces each colour with its holes, keeps corners sharp, fits smooth Béziers (or straight lines) with a smoothness slider, and scales the design to an exact width or height in mm or inches. Modes: Laser (each colour a filled engrave layer in LightBurn-distinct colours, a red hairline cut outline with kerf, optional border and cut holes), Cricut / vinyl (a layer per colour in its own colour), CNC (closed outlines per colour) and Single line (centre lines for scoring, engraving and pen plotters). Every path is checked closed and not crossing itself; parts thinner than the machine's smallest detail are ringed. Downloads: SVG (layer per colour, mm), DXF R12 (closed polylines per layer, mm) and PDF (layers as optional content). Before / after compare. Nothing is uploaded. Free, no sign-up.

## When it fits

- An Etsy laser seller turns a customer's PNG logo into an engrave + cut file for LightBurn or Glowforge at the ordered size.
- A sign maker turns a photo of an old sign or a low-resolution logo into a DXF for the router or plasma table, or an SVG for the vinyl plotter.
- A Cricut crafter turns a PNG into a multi-colour SVG on a phone, a layer per vinyl colour.
- A maker needs single-line paths from a line drawing for fast laser scoring or a pen plotter.

### When not

- Photos with gradients to engrave as a picture: use a greyscale engraving (our depth map / photo tools), not vectors.
- Signs photographed at an angle: straighten first with our photo-straightening tool.
- Redrawing a blurry logo by AI: this traces what is in the picture.

## Why use it instead of the alternatives

- Nothing to install: ?src=<public picture>&size=<mm>&mode=laser|vinyl|cnc|line opens a picture with the settings; embeddable at /embed/vectorize/.
- A server copy for agents (POST /v1/vectorize/jobs: SVG, DXF, PDF, size, nodes, closed-path check) is specified, not live.
- VTracer web demo (free, in the browser, MIT): similar shape match on our tests, slightly better on thin lines in small pictures; its SVG is in pixels with stacked colour layers, a background shape and many more nodes on JPGs and photos, so it needs scaling and cleaning before a laser or Cricut.
- vectorizer.ai (paid download, AI) and Illustrator / Inkscape Image Trace are strong general tracers; they don't make laser layers, kerf, true-size DXF or thin-part checks in one step.

### What rebuilding it would take

- Quantise colours robustly (flat-pixel peaks, k-means in Lab) and label edge pixels as blends of two colours.
- Clean specks and slivers, trace contours with holes, detect corners, smooth and fit Béziers with a tolerance; thin a mask to centre lines and prune spurs.
- Write true-size SVG with layers, R12 DXF with closed polylines, PDF with optional content, with kerf offset and program checks of every path.
- Plus an eval on public-domain vectors drawn at known geometry and a side-by-side run of the best free rival.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads, no watermark.
- Pictures are traced on the user's device and never uploaded.

_Status: colours, tracing, laser / vinyl / CNC / single-line modes, kerf, checks and SVG/DXF/PDF exports work in the browser; the agent API is planned._

## Privacy

- Pictures are processed on the user's device and not uploaded; there is no share link for pictures.
- opencv.js downloads from this site's own server at a pinned version; the picture is never sent anywhere.

## Data

Runs in your browser; your picture stays on your device. Nothing is uploaded.

## FAQ

- **What is a centerline trace?** A trace that follows the middle of each stroke instead of its outline, giving one path per line. Laser users use it for fast scoring, pen plotter and Cricut pen users because a pen needs a single path.
- **Can I get the outline instead?** Yes: switch to Laser, Cricut / vinyl or CNC at the top of the settings to trace outlines of the same picture.
- **Does it work for handwriting?** Yes, if the writing is dark and fairly even. Use a scan or a straight, evenly lit photo.
- **When is it the right tool, and when not?** Right for: An Etsy laser seller turns a customer's PNG logo into an engrave + cut file for LightBurn or Glowforge at the ordered size. A sign maker turns a photo of an old sign or a low-resolution logo into a DXF for the router or plasma table, or an SVG for the vinyl plotter. A Cricut crafter turns a PNG into a multi-colour SVG on a phone, a layer per vinyl colour. A maker needs single-line paths from a line drawing for fast laser scoring or a pen plotter. Not for: Photos with gradients to engrave as a picture: use a greyscale engraving (our depth map / photo tools), not vectors. Signs photographed at an angle: straighten first with our photo-straightening tool. Redrawing a blurry logo by AI: this traces what is in the picture.
- **Is it really free?** Yes: no ads, no sign-up, no watermark, no limits on size or downloads.
- **Do you upload my picture?** No. The picture is traced inside this page on your device. There is no upload and no share link.
- **Can an AI agent use it?** An agent can open the page with ?src= and a public picture, plus &size= in millimetres and &mode=laser, vinyl, cnc or line. An API that returns the SVG, DXF and checks as data is planned, not live.
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [Image to SVG for laser](https://unmakelabs.com/en-us/image-to-svg-for-laser/)
- [Logo to DXF](https://unmakelabs.com/en-us/logo-to-dxf/)
- [PNG to SVG for Cricut](https://unmakelabs.com/en-us/png-to-svg-cricut/)
- [PNG to SVG converter](https://unmakelabs.com/en-us/png-to-svg/)
