Image to DXF · runs locally

Image to DXF converter.

Turn a logo, sketch or scan into a DXF of real polylines for CNC routers, laser and plasma cutters. Built with ezdxf, one trace away from SVG, PDF, EPS and AI from the same file.

.png.jpg.webp.gif
Drag images here to trace
Paste:⌘V
Trace preset

Applies to images you add next — each one traces as it lands.

DXF specifics
01

Polylines, not splines.

DXF has no native Bezier, so every curve in your traced vector is flattened into an LWPOLYLINE. The default is 12 sample points per curve; closed paths are emitted closed, and each polyline keeps its true colour.

02

AutoCAD R2010.

Files are written as R2010, which is old enough to open in essentially every CAM package and controller that accepts DXF at all.

03

Trace once, cut anywhere.

The DXF is generated from the same SVG the web export uses, so you are not re-tracing to get a cutting file — and you can take SVG, PDF, EPS and AI from the same run.

What happens to your image

The same five steps run for every file you drop, whether it is one logo or twelve photos.

  1. Step 1

    Normalised

    The raster is opened with Pillow and converted to RGB. Transparency is composited onto white, and palette or CMYK images are converted to three clean channels.

  2. Step 2

    Resampled and denoised

    The image is resampled with LANCZOS to the preset width — 1300px for Sharp, 1100px for Balanced, 900px for Compact — and passed through a 3×3 median filter that removes compression speckle without softening edges.

  3. Step 3

    Mode detected

    The engine counts distinct quantised colours on a 256px thumbnail. Forty-eight or fewer means flat artwork, which traces as straight-edged polygons; more than that means photographic, which traces as smooth splines.

  4. Step 4

    Traced

    vtracer builds stacked colour layers into filled paths. Per-path translate transforms are folded into absolute coordinates, a viewBox is added, and the path data is pretty-printed so the file is readable in an editor.

  5. Step 5

    Exported on request

    The trace is always SVG. PDF, EPS, AI and DXF are produced from that SVG only when you pick them, so a batch is never slowed down building files nobody asked for.

Image to DXF questions

Why is my DXF so much bigger than the SVG?
Because curves become point lists. Every Bezier in the trace is sampled into straight segments — 12 per curve by default — so a photographic trace can reach roughly 68 MB, while the SVG describing the same curves stays far smaller. Simple, flat artwork produces far smaller DXF files than photos.
Can I get fewer points in the DXF?
Yes. The export takes a sampling count per curve, between 2 and 64, defaulting to 12. Fewer samples means a smaller file and coarser curves; more means smoother arcs and a larger file.
Should I cut from the DXF or the SVG?
Use the DXF when your CAM tool, controller or CNC shop only accepts DXF. Use the SVG when your software supports it — it is smaller and keeps true curves.
Do I need to upload my drawing to get a DXF?
No. The export runs in the local engine alongside the trace, so a drawing you are not ready to share does not have to leave your machine.