ImageVectorizerConfiguration class

ImageVectorizerConfiguration class

The ImageVectorizerConfiguration class defines a configuration of image vectorization methods and options. The configuration is used to initialize an ImageVectorizer and provides the configuration options for vectorizing images.

The ImageVectorizerConfiguration type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the ImageVectorizerConfiguration class.

Properties

PropertyDescription
path_builderGets or sets the SVG path segments builder.
colors_limitGets or sets the maximum number of colors used to quantize an image.
Default value is 25.
image_size_limitGets or sets maximal dimension of image determined by multiplication image width and height.
The size of the image will be scaled based on this property.
Default value is 1800000.
line_widthGets or sets the line width. The value of this parameter is affected by the graphics scale.
Default value is 1.
background_colorGets or sets background color.
Default value is transparent white.
stencilGets or sets stencil effect configuration.
By default, no stencil effect is applied.

See Also