How to Extract Outlines from an Image

An outline might mean the outside edge of a subject, its interior holes, or a single line down the middle of each stroke. Decide what the outline needs to do before drawing or tracing it in an editor.

On this pageMark what each path representsIsolate the subject before tracingCheck contours with a temporary fill
Open SVG sample

Mark what each path represents

Sketch over the reference and label outer edges, holes, and internal details. If you want one line along a thick stroke, trace its center. Following both visible edges creates a band rather than a single editable line.

Isolate the subject before tracing

Mask the background on a working copy and compare the silhouette on both light and dark fills. Ignore cast shadows and JPEG halos unless they are part of the intended shape. Place nodes at real corners and curves rather than every visible step in the pixels.

Check contours with a temporary fill

Fill shapes that should be closed and set a contrasting background so unintended holes or filled counters stand out. In outline view, look for duplicate segments and check intended joins with the node tool. Leave deliberately open lines on their own layer.

Explore related workflows

Clean Up Vector Paths Without Losing Detail How to Turn a Scanned Drawing into SVG SVG Artwork for CNC Routing

Common questions

Why did my trace put two lines around each pen mark?

It traced the border of the ink area. Draw a centerline path or use a centerline tracing tool if you need one path per mark.

Should I force all endpoints to join?

No. Close shapes that need a continuous boundary, but keep endpoints open for strokes that are meant to end independently.