vectorize method

vectorize

Vectorizes raster image from the specified file.

Returns

The SVG document.

def vectorize(self, image_file):
    ...
ParameterTypeDescription
image_filestrThe path to the image file.

vectorize

Vectorizes raster image from the specified stream.

Returns

The SVG document.

def vectorize(self, image_stream):
    ...
ParameterTypeDescription
image_streamio.RawIOBaseThe stream with image.

See Also