# Image to SVG for laser

> Open a PNG, JPG or photo of a sign. Get an SVG your laser opens straight away: each colour its own layer, the outline a red cut line, at the exact size you set.

Human page: https://unmakelabs.com/en-us/image-to-svg-for-laser/. This is the version for AI agents.

## What it does

Image to SVG for laser cutting and engraving: from a logo to a laser-ready SVG in one step Open a PNG, JPG or photo of a sign. Get an SVG your laser opens straight away: each colour its own layer, the outline a red cut line, at the exact size you set.

## Why a traced picture isn't a laser file yet

A laser needs closed paths, one colour per job and real millimetres. Many converters give an SVG in pixels, with an extra rectangle for the background and hundreds of overlapping blobs. Here the background is left out, each colour is its own layer, every path is closed and checked, and the file is exactly as wide as you typed.

## Engrave, cut and score

In Laser mode the colours of your logo are filled shapes (engrave), the outer outline is a red hairline (cut), and Single line mode makes blue centre lines (score). LightBurn and xTool put each colour on its own layer; Glowforge treats fills as engrave and lines as cut or score.

## Facts

- **Layers:** One per colour + red cut line
- **Size:** Exact width or height, mm or inches
- **Kerf:** Cut line grows by half the beam width
- **Files:** SVG, DXF, PDF; nothing uploaded

## How a person does it

1. **Open the picture.** A logo PNG works best; a straight photo of a sign works too. The background colour is found and left out.
2. **Check before / after.** Drag across the picture to compare. Wrong colours? Set how many, or tap a colour to leave it out.
3. **Set size and kerf, download.** Type the width, add your kerf (about 0.1-0.2 mm) and tick holes if letters should be cut out. Download the SVG for LightBurn, Glowforge or xTool.

## 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/image-to-svg-for-laser/?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

In our tests the traced shapes match about 95% of the original, and every file is checked closed and at the size you set. Thin parts below your machine's smallest detail are ringed in orange so you can fix them before burning material. Thin lines in small pictures and close shades of one colour are the hardest: use the biggest picture you have, or set the number of colours.

## Not done by this tool

- Doesn't straighten photos taken at an angle (use our photo straightening tool first)
- Doesn't make greyscale photo engravings
- Doesn't add text or fonts: it traces what is in the picture
- 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

- **Which colours does LightBurn see?** In Laser mode the engrave layers are black, green, yellow, orange… and the cut line is pure red (#FF0000), so each lands on its own LightBurn layer. Set power and speed per layer after import.
- **What is kerf and should I enter it?** Kerf is the width the beam burns away, usually 0.1 to 0.2 mm on a diode or CO₂ laser. Enter it when the size of the cut part matters (inlays, stencils); the cut line then grows by half the kerf all round.
- **How exact is the tracing?** In our tests the traced shapes match about 95% of the original, and every file is checked closed and at the size you set. Corners stay sharp; very thin lines in small pictures are the weak spot.
- **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

- [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/)
- [Centerline trace online](https://unmakelabs.com/en-us/centerline-trace-online/)
