Rekha

Convert an image to DXF

Cutters and CAD programs want geometry, not pictures. Rekha traces your image and writes the DXF from its own lines, arcs and circles, at a real size in millimetres or inches.

Free up to 4 megapixels. No account, no watermark.

Figure 8, flat colour, the source image Figure 8, flat colour, traced to SVG by Rekha
Figure 8, flat colour: 13 paths, 11 kB. Drag to compare the source with the trace.

How to do it

It takes under a minute, and the trace itself a few seconds.

  1. Drop the image into the studio.

    Black and white artwork is the easiest to cut. Use the Black and white preset for scans and line drawings.

  2. Choose DXF as the format.

    Set the units and the pixels per inch of the image, so the drawing comes out the size you expect. Turn refine on if you want arcs.

  3. Download and open it in your CAM or CAD program.

    Check the scale against one known dimension before you cut.

What you get

Written from primitives
A circle in the artwork is a circle in the DXF, and a straight edge is a line. The file is not an SVG converted afterwards.
Real units
Choose millimetres, inches or pixels, and give the DPI of the image. The DXF carries its size.
Curves your machine understands
Arcs where the tracer found them, polylines within a tolerance you set, or splines. Outlines go on one layer per colour.
Closed outlines
Each region is traced as a closed boundary, shared with its neighbour, which is what a toolpath needs.

Common questions

Can I convert a PNG or JPG straight to DXF?

Yes. Rekha traces the image to vector outlines and writes them as a DXF file in one step. You do not need to make an SVG first and convert it.

Which machines and programs read the file?

DXF is read by nearly all CAD and CAM software, including LightBurn, AutoCAD, Fusion, Inkscape and the software that ships with most laser and vinyl cutters.

How do I get the right size?

Set the units and the DPI before downloading. An image 1200 pixels wide at 300 DPI becomes a drawing 4 inches, or 101.6 mm, wide.

My cutter does not accept splines. What then?

Set curves to polylines and choose a tolerance. Each curve is flattened to short segments that stay within that distance of the true curve.

Is DXF export in the open-source version?

No. The open-source build writes SVG, PDF and EPS. DXF is part of the hosted studio and the commercial licence.

Trace an image now

Drop a PNG or JPEG into the studio and download the SVG. No account needed for images up to 4 megapixels.