THE VECTOR FIELD GUIDE

How to vectorize an image

Vectorize an image by tracing it into paths. Step-by-step for a free online tracer, Illustrator Image Trace and Inkscape Trace Bitmap.

By Shahab Uddin · Updated

The short answer

To vectorize an image, trace it: software groups similar pixels into color regions and fits curves around them, producing scalable paths. Online, use the JPEG to SVG converter. In Illustrator, use Window, Image Trace. In Inkscape, use Path, Trace Bitmap. Start with a clean, high-contrast image and few colors.

Online in your browser

  1. Open the JPEG to SVG converter.
  2. Select the image and choose a preset: logo, silhouette or illustration.
  3. Pick 2 colors for line art or 6 for a flat logo.
  4. Compare the preview, then download SVG, or use PNG to vector for EPS, PDF and DXF.

Adobe Illustrator: Image Trace

  1. Place the image (File, Place) and select it.
  2. Open Window, Image Trace.
  3. Choose a preset such as Black and White Logo or 6 Colors.
  4. Adjust Threshold, Paths, Corners and Noise in Advanced.
  5. Click Expand to turn the trace into editable paths.

Inkscape: Trace Bitmap

  1. Import the image and select it.
  2. Open Path, Trace Bitmap.
  3. Choose Brightness cutoff for one color, or Multiple scans, Colors for several.
  4. Click Apply, then move the traced result off the original.

Getting a clean trace

  • Crop away background and noise first.
  • Increase contrast; blurry edges trace as wobbly curves.
  • Use the fewest colors that still describe the design.
  • Expect to clean up lettering by hand, or retype it with a font.

What vectorizing cannot do

Tracing approximates shapes. It cannot recover detail missing from a tiny or blurry source, and photos turn into posterized artwork with many paths.

Sources

Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.

A few useful answers

Before you hit download

What is the best free way to vectorize an image?

For quick results, a browser tracer. For full control, Inkscape’s Trace Bitmap, which is free and open source.

Can I vectorize a photo?

Yes, but the result looks like a posterized illustration rather than a photo.

What is raster to vector conversion?

Another name for tracing: converting pixel images into path-based vector graphics.

Next, make it useful.