Skip to content

Editing and arranging

Tracing an image

Turn the dark areas of a PNG or JPEG into shapes: brightness thresholds, transparency, sketch mode for uneven light, speck removal, smoothing and center line.

An imported image (PNG, JPEG…) serves as a model: select it, then Drawing › Trace Image… turns its dark areas into shapes. The sheet shows the image and the shapes found; the shapes to come are also drawn in pink on the canvas, in place. Dragging in the preview traces only part of the image (Whole Image goes back to all of it); Fade image dims it to see the shapes better, Show points shows their nodes.

  • Upper threshold and lower threshold: range of brightness traced (from black up to the upper threshold, starting at the lower threshold);
  • Trace transparency: for a cut-out image (PNG with a transparent background, image flattened on its mask), the outline of the parts that are at least half opaque; colors, inner details and the brightness thresholds are ignored (the thresholds leave the sheet). If the image has no transparent part, the sheet says so: only its frame would be traced;
  • Sketch: strokes darker than their surroundings, for a drawing, handwriting or a document photographed under uneven lighting; the threshold becomes Sensitivity (higher: paler strokes kept). The surroundings span about a thirtieth of the image: of a large black area, only the edge is kept;
  • Ignore areas smaller than: smaller specks and holes removed (image pixels);
  • Node reduction and Smoothness: simpler paths, corners more or less rounded (center lines included);
  • Center line: a line down the middle of each stroke of the drawing instead of its outline (see Center line);
  • Group the result, Delete the image.

Trace creates the shapes, selected, on the active color (or the next one if it is in Image mode), in a single undoable action. A masked image is traced only in its visible part (see Image masks).

This manual is also built into Dusty: press F1, or open the Help menu, to read the topic for what you are doing. A mistake, a missing answer? Tell us

Try it in Dusty, for free.

Free CNC milling software: design, toolpaths and machine control. Mac, iPad, iPhone, Windows and Linux.