Image Tracing

Image Tracing

Use the Image Trace panel to convert imported pixel images, such as PSD, PNG, or JPEG files, into vector objects. The result contains shapes with solid-color fills or outlines that you can use as the basis for artwork.

An image (first) converted into vectors using various options.

Start with a preset for your type of artwork, then adjust the tracing options to refine the result.

Open Image Trace from the Window menu. The panel provides presets, styles, and basic settings. Choose More Options from its menu for detailed controls.

The Image Trace panel.

To convert an image to vector objects:

  • Open Image Trace from the Window menu.
  • Select the image.
  • Choose a preset or style from Styles.
  • Adjust other settings as needed.
  • Click Trace. A progress dialog appears during conversion.
  • Review the counts of Fills, Colors, Outlines, and path Nodes in the panel.

By default, the traced vectors remain linked to the image. Expand the trace group to edit individual vectors:

  • Tracing creates a trace group associated with the source image.
  • Change settings in Image Trace and click Trace again to update the group.
  • Click Release to restore the original image.
  • Choose Expand Content from Styles to turn the result into editable vectors.
  • To create editable vectors immediately, disable Keep with Image in the panel menu before tracing.

Choose a preset from Styles as a starting point. The default presets include:

  • Color Drawing - Convert colored drawings into filled shapes.
  • Color Outlines - Convert colored drawing strokes into vector strokes.
  • Gray Sketch - Convert grayscale sketches into strokes.
  • Gray Tones - Convert grayscale sketches into filled shapes.
  • High Color Cartoons - Trace flat-color artwork with many colors.
  • High Color Shapes - Trace overlapping geometric shapes with many colors.
  • Low Color Cartoons - Trace flat-color artwork with a small number of colors.
  • Low Color Shapes - Trace overlapping geometric shapes with a small number of colors.
  • Pencil Drawing - Convert black-and-white pencil drawings into strokes.
  • Photographic - Trace photographs with many colors and smooth transitions.
  • Thin Outlines - Convert thin outlines and technical drawings into strokes.

The Image Trace panel contains the following basic tracing options:

  • Mode - Choose a color conversion mode or palette:
    • Black and White - Create black and white shapes, using Threshold to separate dark and light areas.
    • Grayscale - Use the number of gray levels set in Levels.
    • Selected Colors - Pick colors from the image to restrict the tracing result to these colors.
    • Fixed Color - Use a fixed number of the image’s most common colors.
    • Full Color - Use many colors, with the proportion of available tones set in Tones.
    • Palette Name - Choose a palette to restrict the result to its colors.
  • Tolerance - Set the curve-fitting tolerance in pixels. Lower values retain more detail; higher values produce smoother, simpler curves.
  • Reduce Size - Reduce the image size before tracing to create fewer shapes and colors.
  • Minimum Area - Set the minimum region size in pixels. Smaller regions merge with neighboring regions, removing noise and small spots.
  • Stroke Width - Set the maximum width detected as a stroke. Available when Extract Stroke is enabled.
  • Extract Fills - Extract filled regions. If disabled, enable Extract Stroke instead.
  • Extract Stroke - Extract outline strokes.
  • Extract Alpha - Use the image’s alpha channel to set opacity for fills and strokes.
  • Stacked Shapes - Enable or disable the separation of stacked shapes.
  • Detect Lines - Enable or disable the detection of straight lines in geometric drawings.
  • Trace - Convert the selected image to vector shapes using the current options.
  • Release - Release the image tracing group and restore the original image.

Selected Colors

Selecting trace colors.

Use Selected Colors to limit tracing to a chosen set of colors. Pick them from the image or elsewhere on the canvas, choose them in a color dialog, or load them from a palette. Color controls and a list appear below the Color dropdown.

Click the Pick colors color picker in the Image Trace panel, then click the canvas to add colors to the list. The picker stays active for additional clicks. Click its icon again or press Esc to stop picking.

  • Pick colors - Activates the color picker mode.
  • Add color - Add a color chosen in the color selector dialog.
  • Edit color - Edit the selected color.
  • Remove colors - Remove the selected colors.
  • Toggle selected colors - Enable or disable the use of the selected colors in tracing.
  • Save palette preset - Save the color set as a palette preset for reuse.
  • Choose palette preset - Select a previously saved palette preset to be used as tracing colors.

Panel Menu

The Image Trace panel menu contains the following tracing options:

The Image Trace panel menu.

  • More Options - Open the detailed tracing settings.
  • Keep with Image - Keep the trace linked to its source image. Use Expand Content to edit the vectors or Release to restore the image. Disable this option to replace the image with editable vectors immediately; use Undo to restore it.
  • Keep Image Effects - Trace the image before its image effects are applied, then apply those effects to the resulting vectors.
  • Ignore Transparent - Leave transparent regions empty.
  • Ignore White - Leave white regions empty.

More Options

Choose More Options from the panel menu to open the Image Trace dialog. Adjust the settings below, then use Styles to save the configuration as a preset or style.

The Colors section of the image tracing view.

  • Styles - Select an image tracing preset or style, or create new presets or styles.
  • Mode - Select the color conversion mode. This can be:
    • Black and White - Create black and white shapes, using Threshold to separate dark and light areas.
    • Grayscale - Use the number of gray levels set in Levels.
    • Fixed Color - Use a fixed number of the image’s most common colors.
    • Full Color - Use many colors, with the proportion of available tones set in Tones.
    • Palette Name - Choose a palette to restrict the result to its colors.
  • Color - Choose the color mode used to compare and extract colors. The mode affects which colors are considered similar.
  • Threshold - Set the threshold for the Black and White tracing mode.
  • Levels - Set the number of gray levels for the Grayscale tracing mode.
  • Colors - Set the maximum number of colors for the Fixed Color tracing mode.
  • Tones - Set the proportion of tones used in Full Color mode.
  • Drop Colors - Discard the least frequent colors below the selected limit.
  • Minimum Opacity - Set the opacity threshold below which shapes are treated as transparent.
  • Cluster Gap - Set the similarity level of neighboring color regions.
  • Color Gap - Set the color difference precision, used to separate background regions.
  • Ignore Transparent - Enable or disable the discarding of transparent shapes.
  • Ignore Background - Enable or disable the discarding of regions filled with the background color.
  • Background Color - Select the background color.

The Options section of the image tracing view.

  • Reduce Size - Reduce the image size before tracing to create fewer shapes and colors.
  • Limit Size - Set the maximum image size in megapixels. Larger images are scaled down, reducing detail.
  • Window - Set the curve-smoothing window in image pixels.
  • Smoothness - Set the curve-smoothing strength.
  • Preprocessing - Set up and edit image preprocessing effects to be used before tracing.
  • Extract Fills - Extract filled regions. If disabled, enable Extract Stroke instead.
  • Extract Alpha - Use the image’s alpha channel to set opacity for fills and strokes.
  • Linked Image Trace - Enable or disable the creation of image tracing groups.

With Linked Image Trace enabled, tracing creates a group linked to the source image. Use Expand Content to edit its vectors, or Release to return to the image. With it disabled, tracing replaces the image with an editable vector group; use Undo to restore the image.

  • Smooth Downscaling - Check to use smooth downscaling when the traced image size is reduced.
  • Keep Image Effects - Trace the image before its image effects are applied, then apply those effects to the resulting vectors.

The Shapes section of the image tracing view.

  • Tolerance - Set the curve-fitting tolerance in pixels. Lower values retain more detail; higher values produce smoother, simpler curves.
  • Tangent Gap - Minimum number of pixels required to detect the direction along a path.
  • Minimum Area - Set the minimum region size in pixels. Smaller regions merge with neighboring regions, removing noise and small spots.
  • Composite Shapes - Limit the number of subpaths in composite shapes.
  • Line Tolerance - Set the tolerance used to detect straight lines.
  • Maximum Cusp - Set the maximum angle for creating cusp (sharp) corners.
  • Minimum Smooth - Set the minimum angle for smooth corners.
  • Edge Join - Set the lower limit of smooth angles when joining edges at object corners.
  • Detect Lines - Enable or disable the detection of straight lines in geometric drawings.
  • Stacked Shapes - Enable or disable the separation of stacked shapes.

The Stroke section of the image tracing view.

  • Extract Stroke - Extract outline strokes.
  • Stroke Width - Set the maximum width of a detected stroke.
  • Stroke Partition - Set the extent of the uniform partition used to detect strokes, relative to the partition size.
  • Edge Ratio - Set the ratio of edge pixels paired with pixels on the opposite side of a stroke.
  • Minimum Stroke - Set the lower limit to the size of a region that is detected as a stroke.