Skip to main content

image_to_svg

Signature
def image_to_svg(image: npt.NDArray[np.uint8], *, config=None) -> str

Convert Image to SVG string.

Parameters

NameTypeDescription
imagenumpy.ndarrayInput image buffer.
configImageToSvgConfig, optionalConfiguration object containing filter and clustering parameters. Defaults to ImageToSvgConfig() if not provided.

Returns

TypeDescription
strSVG string representation of the image.