Image to SVG or DXF cut file
Your logo is a picture and the cutter wants outlines: drop the image, set the threshold and take away an SVG or DXF file at the right size.
Result
The details
SVG and DXF files at the right size
- Outlines in inches, holes kept as holes
- One SVG file and one DXF file
- Smoothing and width set for your cut
$4.99 one payment, no subscription
Your order
SVG and DXF files at the right size
- Contents
- SVG and DXF files
- Total
- $4.99
Payment is not open yet: your detailed result is free
You have paid nothing: no bank details were asked for or sent.
This site is a trial. The price of $4.99 was a price under consideration, to find out whether this detail is useful to people who try it. We should have told you before your click, and we apologize. Thank you: your click helps us decide what is worth keeping.
In the print window that opens, choose “Save as PDF” as the printer.
What this tool is for
A laser cutter, a vinyl cutter or a CNC router follows lines, not colored pixels. A logo saved as a PNG has to become closed outlines before it becomes a cut file. The tool does it in your browser: it separates black from white using a threshold, finds every outline, holes included, and then simplifies the outlines so the machine does not follow every tiny stair-step of the pixels.
What happens, in order
- The image is scaled down to 1,000 pixels wide at most, then converted to grayscale.
- Every pixel darker than the threshold is marked “to cut”. Tick the box to trace the light areas instead.
- Outlines are traced along the pixel edges, so they match the black area exactly before any simplification.
- Each outline is simplified with the Ramer–Douglas–Peucker method: a vertex is dropped only if the outline stays within your smoothing distance of the simplified one.
- The drawing is scaled to the width you chose, in inches, and written as an SVG (even-odd fill, so holes stay holes) and as a DXF (one closed polyline per outline, on a layer named CUT).
Settings and traps
A clean logo on a plain background gives a tidy drawing with smoothing close to 1 pixel. A photograph does not trace well: it produces thousands of tiny outlines, and while a lower threshold and stronger smoothing help, a stencil is much easier to make from a drawing. Think about bridges: the center of an “o” or the dot of an “i” falls out unless something holds it. Specks smaller than 4 pixels are ignored. The DXF file written here has no unit header, so import it as inches. This tool writes the files for software such as LightBurn, Inkscape or the Glowforge app, but none of them has opened a file from it yet: open the drawing and check its size before you start the machine.
Formula used and sources
Threshold: a pixel is black if gray < threshold, with gray = 0.299 R + 0.587 G + 0.114 B. Outlines: edges between a black pixel and a white pixel, joined into loops.
Simplification: the point farthest from the segment is kept if its distance exceeds the tolerance ε, and the method repeats on each side. Scale: final width ÷ image width.
- Ramer–Douglas–Peucker algorithm (English Wikipedia): a simplified curve in which no removed point is farther than ε — verified against a secondary source (checked on 2026-12-02)
- Autodesk DXF reference: POLYLINE, VERTEX and SEQEND entities, bit 1 of group 70 for a closed polyline — read in part only (the vertex page); the closed flag comes from a secondary source; file not tried in any cutting software (checked on 2026-12-02)
- Elementary geometry and well-known algorithms described on this page — demonstrated: checked against cases calculated separately (the tests of this batch, written without reading the code of the site)