CAD programs, laser cutters, plasma tables and CNC routers work from paths, not pixels. A PNG or JPG has to be traced before it can be cut: this page finds the outlines in your picture and writes them to a DXF file, in millimetres by default, together with an SVG of the same drawing.
How to convert an image to DXF
- Upload the picture: a logo, a silhouette, a drawing or a scan works best.
- This page starts with the Shapes to cut type: one-colour outlines, smooth curves, few nodes and no specks smaller than 25 square pixels. For a design with several colours that should be cut separately, choose Logo or icon instead.
- Open More options and type the Width you want, for example 200 (mm). The height follows the picture's proportions.
- Download the DXF and open it in your CAD or machine software.
What is in the DXF
- Polylines. Every outline is one closed polyline; holes (the inside of an O, the centre of a ring) are separate closed polylines inside it. Single lines from centerline tracing are open polylines.
- Curves as short straight segments, within 0.02 of the drawing's unit of the true curve (0.02 mm in a millimetre drawing), because older DXF readers don't all understand curves.
- One layer per colour, named after the colour, such as
COLOR_000000, so each colour can get its own cut, engrave or score setting. - AutoCAD R12 format, the version almost every CAD, CAM and laser program reads.
- Units: millimetres, or centimetres or inches if you choose them. Many programs ask for the unit when importing or assume millimetres, so check the size after opening the file.
Pitfalls
- Outline, not centre. A drawn line is traced as a thin shape with an edge on each side, so a laser would cut around it twice. For a single cut along each line, choose Single lines (centerline) as the picture type.
- Colour designs. In colour tracings, choose Cut-out under Layering so the shapes fit together without overlapping; stacked shapes overlap, so the cutter would also cut through the shapes lying underneath.
- Thin parts. Very thin bridges and small islands may be too delicate to cut. Raise the speck size to drop tiny pieces, or thicken the artwork before tracing.
- Detail. Start from a large, sharp picture: the DXF can only follow edges that are in it.
More about what this tool reads and writes: Image Vectorizer.