Image to DXF for CNC and Plasma: Cut Paths Machines Accept
A practitioner's guide to turning logos and line art into DXF files CAM software imports cleanly: correct units, closed contours, R12 format, and the plasma limits that decide what can be cut.

Founder of VectoSolve
Self-taught developer, founder and sole developer of VectoSolve since 2024. He builds the conversion engine and the cutting, embroidery and 3D printing exports.
How this article was made: drafted with AI assistance, then edited and fact-checked before publication. About the author
Try it on your own file, in CNC mode
Free preview, no signup. Drop an image and see the vector before deciding anything.
Why CAM software wants geometry, not pixels
A PNG of your customer's logo contains no lines, no arcs, and no contours. It is a grid of colored pixels, and no CAM package can compute a toolpath from pixels. Toolpaths are built from geometry: line segments the machine follows as G1 moves, arcs it follows as G2 and G3, and closed loops the software can offset inward or outward to compensate for the width of the cut.
DXF became the exchange format for cutting work because it stores exactly that geometry, in plain text, in a format Autodesk has published openly since 1982. Plasma table controllers, router CAM packages, laser and waterjet software: nearly all of them read DXF, and some read nothing else. If you run a shop that takes customer artwork, "can you send that as a DXF" is probably the sentence you type most often.
The catch is that "a DXF" is not one thing. The format has been revised many times, and the entities inside the file matter far more than the file extension. A DXF stuffed with splines and floating text will fail precisely in the software where it matters, usually a few minutes before the job was supposed to run.
The four classic import killers
Most failed imports come down to one of four problems. All four are avoidable at export time.
| Symptom in CAM | Likely cause | Fix |
|---|---|---|
| Part imports 25.4x too small or too large | Units undeclared: inches read as millimeters, or the reverse | Export with real units applied, then verify one known dimension after import |
| "Open contour" warnings, kerf offset refused | Micro-gaps or overlaps left over from tracing | Close every path before export; weld endpoints that nearly touch |
| Entities missing, or the file rejected outright | SPLINE entities the target CAM version does not parse | Export lines, arcs, and polylines only (R12 does this by construction) |
| Text arrives as nothing, or as a lone insertion point | TEXT/MTEXT entities instead of outlines | Convert all lettering to paths before generating the DXF |
Splines. DXF gained true spline entities in release 13. A lot of cutting software, especially the controller-bundled CAM that ships with plasma tables, either predates that or implements spline parsing incompletely. The file opens fine in your design tool, then vanishes or distorts on the table. The reliable habit is to never ship splines at all: curves should be fitted as arcs and short line segments, which every parser written in the last thirty years understands. The receiving side confirms this. Hypertherm's ProNest LT, the nesting CAM sold alongside its plasma systems, lists "automatic spline/ellipse smoothing and reduction" and "automatic CAD file correction and error notification" among its standard import features, next to a raster-to-vector converter of its own (Hypertherm ProNest LT product page). When the industry-standard plasma CAM ships with a built-in pass for smoothing splines and repairing broken files, that says a great deal about what arrives in shop inboxes — and geometry that needs no repair imports the same everywhere, including in CAM that has no such pass.
Unclosed contours. Kerf compensation and inside/outside detection only work on closed loops. Automatic tracing tends to leave gaps of a few hundredths of a millimeter where paths should meet: invisible at any screen zoom, but perfectly real to the offset algorithm. The symptom is CAM refusing to offset, or treating an outline as two open curves and cutting them with no compensation at all. Any raster-to-DXF pipeline needs an explicit path-closing pass.
Units, and the 25.4x surprise. Early DXF has no mandatory unit declaration, and even in the current format the physical unit of the geometry is carried by the $INSUNITS header variable as a bare integer code — 0 is unitless, 1 is inches, 4 is millimeters, among 25 defined values — whose official description, according to Autodesk's DXF Reference, reads in full: "Default drawing units for AutoCAD DesignCenter blocks." Unitless is a legal, defined value, not an error state, so a file can arrive that declares no unit at all. Coordinates are bare numbers, and whether "100" means 100 millimeters or 100 inches is decided by whoever reads the file. Since one inch is 25.4 mm, a mismatch scales the part by exactly 25.4 in one direction or the other: the 300 mm sign panel imports at 11.8 mm, or the 4-inch bracket comes in over 100 inches wide. The defense is boring and it works: export with units genuinely applied to the coordinates, then measure one known dimension in CAM before doing anything else. A part that should be 100 mm wide either reads 100 or it does not.
Floating text. A TEXT entity is an instruction: draw this string, in this font, at this point. Your CAM software does not have the font and would have no cut path for it if it did. Text either disappears on import or arrives as an unusable reference point. All lettering must be converted to outlines before export, and if the piece is a stencil, the counters (the enclosed middles of letters like O, A, and R) need bridges or they fall out of the finished part.
When in doubt, export R12
DXF release 12, tagged AC1009 in the file header, dates from 1992, and that is exactly why it works. The tag lives in the $ACADVER header variable, and Autodesk's DXF Reference maps ten of its codes to AutoCAD releases: AC1006 is R10, AC1009 covers R11 and R12, AC1012 is R13, AC1014 is R14, and AC1015 through AC1032 track AutoCAD 2000 through AutoCAD 2018 (Autodesk DXF Reference). Each code marks a revision of the format itself, which is why "R12 DXF" and "AutoCAD 2018 DXF" share an extension but not a vocabulary, and why an importer written against the older code can reject a newer file outright.
R12's entity set is small: lines, arcs, circles, polylines, points, text. It predates splines entirely, so an R12 file cannot contain the single most common import-breaking entity. It is plain ASCII, simple enough that even the minimal parsers embedded in machine controllers handle it correctly.
Newer DXF releases add features that matter for architectural CAD and mean nothing to a cutting machine. No 2.5-axis profile cut needs anything beyond lines and arcs, so exporting R12 costs you nothing and buys compatibility with effectively every CAM package still in service, including the fifteen-year-old install running the plasma table in the corner. This is why our free SVG to DXF converter offers R12 as a one-click export option and never writes splines in any version: curves are exported as plain polylines instead.
A Full Year of Conversions for $49
Starter Annual: 25 conversions every month, $49 for the whole year. That is about $4.08 a month · Cancel anytime
Get the Annual DealThe workflow: from raster image to cut-ready DXF
1. Start from the cleanest source you have. A sharp logo file or a well-lit scan of a line drawing beats a phone photo of a business card. Contrast is what the tracer works with; fuzzy edges become wobbly polylines that take longer to clean up than the trace saved.
2. Trace with a limited color count. Every boundary between two colors becomes a contour. Trace a full-color image and you get thousands of tiny regions; reduce the same image to two to four colors first and you get a handful of solid, cuttable shapes. For a plasma or router profile you usually want exactly two: material and not-material. Our JPG to DXF converter handles the direct raster-to-DXF path, and the scan to CAD converter covers the scanned-drawing workflow specifically. The preview is free with no signup, so you can judge the trace on your own artwork before paying for the DXF.
3. Clean before export. Remove speckles (a dust fleck on a scan becomes a one-millimeter closed contour the torch will dutifully pierce and cut), merge overlapping shapes into single outlines, and confirm every contour is closed.
4. Export with real units and named layers. A DXF that arrives in millimeters at the intended size, with geometry sorted onto layers named CUT and ENGRAVE, drops straight into a CAM workflow: the operator maps each layer to an operation with its own feeds, amperage, or tool. That mapping is the entire reason to name layers instead of dumping everything onto layer 0. The SVG to DXF export handles units and CUT/ENGRAVE layers for you.
5. Verify in CAM before metal. Import, measure one dimension, run the open-contour check, simulate. Thirty seconds of screen time is cheaper than a pierced sheet.
Plasma changes the rules
CNC routers and lasers are relatively forgiving of fine detail. Plasma is not, and artwork that cuts beautifully on a laser can be physically impossible on a plasma table.
Kerf eats small features. A plasma arc removes a kerf commonly in the range of 1 to 2 mm on typical air-plasma setups, wider at higher amperage. You do not have to guess your own number: Hypertherm's cut-quality guidance gives a rule of thumb of nozzle orifice size multiplied by 1.5, with the worked example of a 200 amp air nozzle with a 0.086 in orifice producing a kerf of approximately 0.129 in, about 3.3 mm (Hypertherm cut-quality guidance). Check the orifice stamped on your consumables and you have a kerf estimate before the first test cut. CAM compensates by offsetting the path by half the kerf, which means any feature narrower than the kerf cannot exist in the finished part. A 1.5 mm slot in the artwork is not a slot after a 1.5 mm kerf passes through it.
Small holes disappear or turn into slag. A widely used shop rule of thumb says the smallest clean plasma hole is roughly equal in diameter to the material thickness, and quality-minded shops aim larger. Hypertherm's hole-quality guidance draws the line slightly higher: it defines a small hole as any hole whose diameter is less than 1.5 times the material thickness, and notes such holes are more difficult to cut cleanly with conventional systems. The same guidance puts numbers on the machine-class gap — high-tolerance plasma systems can accurately cut holes as small as 4.76 mm (3/16 in), while conventional systems cut within about 0.76 mm (0.030 in) accuracy (Hypertherm hole-quality guidance). Those are different metrics, a minimum hole size versus a positional tolerance, but both point the same way: hole quality is a machine capability before it is an artwork property. At the top of the range, Hypertherm's True Hole technology, for mild steel up to 25 mm (1 in), handles diameter-to-thickness ratios from 2:1 down to 1:1 — and may deliver 0.5:1 depending on OEM machine design and components — and in Hypertherm's words "virtually eliminates hole taper and improves roundness" (Hypertherm True Hole). No DXF preparation gets a conventional table to that ratio, so know which class of machine will run the file. If the design needs precise small holes on ordinary equipment, the practical answer is to have the plasma mark the centers and drill them afterward.
Inside corners have a minimum radius. The compensated toolpath is effectively a circle of radius kerf/2 rolling along your geometry, so an internal corner can never be sharper than that radius. Sharp inside corners in the artwork will arrive rounded; design for it rather than fighting it.
Lead-ins need room. The torch pierces away from the finished edge and then leads into the contour, because the pierce itself blows a crater wider than the kerf. Exterior profiles have unlimited room in the surrounding skeleton. Interior cutouts do not: every hole and every letter counter must be large enough to contain its own pierce point and lead-in. This is what kills fine lettering on plasma. Bold, chunky fonts survive; thin scripts do not.
Match the design to the published machine capacity. The numbers exist; use them. Hypertherm's Powermax45 XP, a common power source on entry-level CNC plasma tables, carries a recommended mechanized cut capacity of 16 mm (5/8 in) at 500 mm/min (20 ipm) and 22 mm (7/8 in) at 250 mm/min (10 ipm), a 12 mm (1/2 in) pierce rating for handheld use or with automatic torch height control, and 29 mm (1-1/8 in) severance in hand cutting, according to Hypertherm's product specifications. Two properties of the converted DXF interact directly with those figures: the material thickness the job calls for, and the pierce count. Every interior contour is one pierce, piercing is the hardest duty the consumables see at rated thickness, and a design with forty letter counters is forty pierces. Simplifying the artwork before export is not just an aesthetic choice; it is consumable life and cycle time.
What image-to-DXF honestly cannot do
Tracing turns boundaries into paths, so it needs boundaries to exist. Logos, silhouettes, line art, stencils, and scanned technical drawings convert well. Photographs do not. A photo of a wolf has no line where the wolf ends and the forest begins, only gradients, and a tracer forced to invent boundaries produces thousands of noisy fragments no machine should cut. If you want the wolf on a fire pit, the honest workflow is photo, then simplified high-contrast artwork, then trace. The simplification step is design work, not conversion.
Two more limits worth stating plainly. First, a traced outline is not dimensioned CAD: if the part has bolt holes that must sit at exact coordinates, trace the decorative outline and place the holes yourself in CAD. Second, never trace a photograph of a gear. Tooth profiles are mathematical curves that must be generated, not approximated from pixels; our free gear generator produces parametric involute gears as clean vectors, which is the correct tool for that job.
Free SVG Tools for Crafters
Design Checker · Color Separator · Mat Preview · Offset Generator · Text to SVG
Check Your SVG FreeFAQ
Why did my DXF import at the wrong size by a factor of 25.4?
The file was drawn in one unit system and read in the other. One inch is 25.4 mm, and older DXF files carry no binding unit declaration, so the importer guessed. Re-export with units explicitly applied to the coordinates, and always verify one known dimension immediately after import.
My CAM software reports open contours on a traced file. What happened?
Automatic tracing left tiny gaps where path segments should meet, often hundredths of a millimeter wide. CAM needs closed loops to compute kerf offsets, so it flags them. Fix it at the source with an exporter that closes and welds paths, rather than hunting invisible gaps manually in CAM.
Which DXF version should I choose if the exporter offers several?
R12 (AC1009), unless the receiving software documents otherwise. It contains only entities every CAM parser understands, and a 2.5-axis cutting job needs nothing newer. Later versions add capabilities cutting machines never use and older importers sometimes reject.
Can I photograph an existing part and cut a copy from the trace?
You can recover the shape, not the accuracy. Camera perspective distorts geometry and a photo carries no scale. Trace the photo to get the outline, then rebuild the critical dimensions, hole positions, and mating edges in CAD from measurements taken off the physical part.
Sources
- Autodesk DXF Reference — HEADER Section Group Codes — the $ACADVER version-code-to-release mapping (AC1006/R10 through AC1032/AutoCAD 2018) and the $INSUNITS unit codes, including 0 = Unitless.
- Hypertherm — Troubleshooting cut quality: cut angularity — the kerf ≈ nozzle orifice × 1.5 rule of thumb and the 0.086 in orifice / ~0.129 in kerf example.
- Hypertherm — Troubleshooting cut quality: hole quality — the small-hole definition (diameter under 1.5× material thickness), the 4.76 mm (3/16 in) high-tolerance minimum hole size, and the ~0.76 mm (0.030 in) conventional-system accuracy figure.
- Hypertherm — True Hole (SureCut technology) — hole diameter-to-thickness ratios of 2:1 to 1:1 (down to 0.5:1 OEM-dependent) on mild steel up to 25 mm (1 in).
- Hypertherm — ProNest LT CAD/CAM nesting software — standard features: automatic spline/ellipse smoothing and reduction, automatic CAD file correction and error notification, raster-to-vector import.
- Hypertherm — Powermax45 XP — mechanized cut capacity (16 mm at 500 mm/min, 22 mm at 250 mm/min), 12 mm pierce rating, and 29 mm hand-cutting severance.
VectoSolve — AI-powered SVG platform: image-to-vector conversion, AI animation, brand identity generation, and more. https://vectosolve.com