How to Do Image Trace in Illustrator
StyleFrame Team6 min read
To do an Image Trace in Illustrator, place your raster image, select it, and open Window > Image Trace (or Object > Image Trace > Make). Pick a preset or mode, adjust Colors or Threshold, Paths, Corners, and Noise while Preview is on, then click Expand to turn the preview into editable vector shapes. For motion work, save the result as an AI or SVG file and bring it into your animation tool of choice.
What Image Trace actually does
Image Trace converts pixels into vector paths and fills. A raster image has a fixed resolution, while vector shapes are defined mathematically, so they scale without softening. Motion designers care about this for logos, textures, hand-drawn elements, scanned ink, and stylized plates that need to hold up at any camera move or resolution.
Image Trace is also a stylization tool. A low color count turns a photo into flat, graphic shapes with a cut-paper or screen-print feel. Treat the output as a design decision, not a faithful copy of the original.
Before you trace: prepare the source
Trace quality depends heavily on the input. A few minutes of prep saves a lot of cleanup.
- Start with the highest-resolution source you have. Low-res or compressed images can produce jagged, noisy paths.
- Increase contrast where needed. For line art and scans, push the blacks and whites in Photoshop or Illustrator so the edges are unambiguous.
- Simplify the subject. Images with a few distinct colors and clean shapes trace best. Busy photos create a lot of paths.
- Isolate the subject. If you only want the figure, remove the background first. Tracing a cutout avoids a halo of unwanted shapes you would otherwise delete later.
Step-by-step: how to image trace in Illustrator
1. Place the image
Create a new document sized to your comp (for example 1920×1080 or 3840×2160 pixels). Use File > Place to bring in the image, or drag it onto the artboard. Scale it to fit the artboard.
2. Open the Image Trace panel
Select the image, then choose Window > Image Trace. You can also click the Image Trace button in the Control panel, or use Object > Image Trace > Make, which applies default settings immediately.
3. Turn on Preview
Check Preview at the bottom of the panel. This shows the trace live without committing to it, so you can adjust and compare freely.
4. Choose a preset or mode
Presets are the fastest way to get close. Common ones include:
- 3 Colors, 6 Colors, 16 Colors for posterized, graphic looks. 16 Colors gives a more realistic result.
- Shades of Gray for tonal, monochrome results.
- Sketch Art and Line Art for line and ink work.
If you want more control, set the Mode directly: Color, Grayscale, or Black and White. A black-and-white trace of a photograph will look harsh and flat, so switch to Color if that is not what you intended.
5. Tune the sliders
The slider that appears depends on the mode.
- Colors (Color mode) sets the maximum number of colors in the trace. Keeping this low, somewhere between roughly two and ten, usually gives a cleaner, more animatable result.
- Grays (Grayscale mode) controls tonal accuracy.
- Threshold (Black and White mode) converts pixels darker than the value to black and the rest to white. Set too low, the result can look too plain. Set too high, it can get too complex.
Open the Advanced section for finer control:
- Paths sets how closely the paths follow the original edges. Too few makes shapes boxy and distorted, while too many gives rough, over-detailed edges.
- Corners affects how often the tracer creates sharp corners instead of curves. Fewer corners produce rounder, softer shapes.
- Noise tells Illustrator to ignore areas smaller than a given pixel size. Raise it to remove specks, but not so far that it erases small details you want to keep.
- Ignore White drops white areas so only the artwork is traced, which is helpful for line art and for recoloring or moving elements around.
6. Expand the trace
At this point you have a live trace, which is only a preview of what the vector will look like. Click Expand in the Control panel. Now the result is real, editable vector shapes.
7. Clean up
Tracing rarely gets everything right. After expanding:
- Ungroup the shapes so you can edit individual pieces.
- Delete an unwanted background by selecting it and pressing Delete. To remove a halo or a stray color, select one shape of that color and use Select > Same > Fill Color, then delete.
- Adjust or delete anchor points on complex shapes.
- Simplify heavy paths when a trace has far more points than you need.
8. Name and organize layers
If you plan to animate, spend a minute on structure. Separate the traced result into layers by element (outline, fill, shadow, highlights), and name them. Clean layers in Illustrator make animating much easier.
Saving and exporting for motion work
Illustrator can save traced artwork as AI, SVG, EPS, or PDF. For motion pipelines, the most practical routes are these:
- Save as AI to keep a vector Illustrator file.
- Use SVG when you are moving into other tools or web-based workflows.
Keep the point count in mind. Heavy traces with thousands of shapes can slow down animation software, so simplify before you animate.
Common problems and fixes
The trace looks blobby or too simple. Increase the Colors value, raise the Paths setting, or lower Noise. Try a preset with more colors, such as 16 Colors.
The trace is too noisy and heavy. Reduce Colors, lower Paths, and raise Noise. Simplify the paths after expanding.
There is a white box behind the art. Turn on Ignore White before expanding, or delete the background shape afterward.
Edges look jagged. Your source resolution is probably too low. Start from a larger image or upscale it first.
Thin lines disappear. Lower the Noise value and adjust Threshold. For very fine ink work, trace at a higher resolution.
The file is slow in your animation software. Too many shapes or points. Reduce the color count, simplify the paths, and consider keeping rarely animated elements as a single merged shape.
When vector tracing isn't the right tool
Image Trace is great when you want flat, scalable shapes. It is not great when you want to keep texture, painterly strokes, grain, or the subtle shading of a frame. A traced result is made of discrete fills, so it tends to lose gradients and organic variation unless you use a high color count, and that makes the file heavy.
If your real goal is a look, such as ink-and-paint, hand-painted, or graphic-novel frames applied to footage or stills, a reference-driven stylization approach can fit better than vectorizing.
A reasonable hybrid is to use Image Trace for logos, icons, and elements that need true vector geometry, and use a stylization approach for stylized footage or plates. You can combine both in the same comp.
Quick workflow summary
- Prepare a high-contrast, high-resolution source.
- Place it in Illustrator and open Window > Image Trace.
- Enable Preview and choose a preset or mode.
- Adjust Colors or Threshold, then Paths, Corners, and Noise.
- Click Expand to create real vector shapes.
- Clean up, simplify, and organize layers.
- Save as AI or SVG.
Image Trace takes a few minutes to learn, but the quality of your results comes down to preparation and restraint with settings. Fewer colors, cleaner source images, and simplified paths give you shapes that are easier to animate and faster to render.