Convert PNG to DXF

Turn PNG images into DXF. The picture is split into its darker and lighter tones at the level that best separates them, and the darker areas are traced into outlines as a DXF drawing in pixel units.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNG files on the dialor turn it to pick what to do

Dark shapes traced into a DXF drawing.The darker areas of a PNG become outlines in a drawing that CAD programs open.

  1. What you get

    One DXF file. The picture is split into darker and lighter tones at the level that best separates them, and the darker areas are traced into outlines. Clear areas count as white.

    The drawing is in pixel units, so one pixel in the PNG is one unit in the DXF.

  2. What it leaves behind

    Colors. Only the split between dark and light is used, so the drawing holds outlines and no color.

    Logos, line art and scanned drawings trace cleanly. Photos, small text and tiny icons come out rough.

  3. When it fails

    A picture of one flat tone has nothing to trace, and the conversion stops with unsupported_elements. A white logo on a clear background is one example, because clear areas count as white.

    To go the other way, DXF to PNG turns a drawing into an image.

PNG and DXF.What each format is.

The formats

From · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images
To · DXF

AutoCAD DXF

AutoCAD's drawing exchange format. Vector geometry that CAD programs share.

Extensions
.dxf
MIME type
image/vnd.dxf
Kind
Documents

In your code.The same PNG to DXF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.png photo.dxf
$ cv convert photo.png photo.dxf

Questions.What people ask about PNG to DXF.

01OF 04

Logos, line art and scanned drawings trace cleanly. Photos, small text and tiny icons come out rough.

No. Colors are dropped. Only the darker areas are traced into outlines.

Pixel units. The outlines are placed using the pixel positions in the PNG.

The picture is a single flat tone, so there is nothing to trace. A white logo on a clear background is one case, since clear areas count as white.

More conversions.Other ways in and out of PNG and DXF.