ImageGraphics
ImageGraphics[image]
returns the content of image in the form of scalable vector graphics.
ImageGraphics[image,n]
uses up to n colors for the vector graphics.
ImageGraphics[image,colors]
creates vector graphics containing the specified colors.
Details and Options

- ImageGraphics is also known as image vectorization or auto tracing.
- ImageGraphics works with arbitrary 2D images and returns a Graphics object.
- ImageGraphics has the same options as Graphics, with the following changes and additions:
-
DistanceFunction Automatic any distance supported in ColorDistance Method Automatic method to determine color segment contours MinColorDistance Automatic minimum color distance - Possible settings for Method include:
-
"Exact" exact representation of the contour "LinearSeparable" approximate contour by local linear separation {"LinearSeparable",α} merge and smooth segments with direction changes smaller than α "MarchingSquares" contour computed using marching squares "DualMarchingSquares" contour computed using dual marching squares
Examples
open allclose allSee Also
ImageMesh Image Graphics Rasterize ColorQuantize DominantColors
Related Guides
Introduced in 2017
(11.1)
| Updated in 2018 (11.3)