image_to_svg
Signature
def image_to_svg(
image: npt.NDArray[np.uint8],
*,
config: ImageToSvgConfig | None = None,
) -> str
Convert Image to SVG string.
Parameters
| Name | Type | Description |
|---|---|---|
image | numpy.ndarray | Input image buffer. |
config | ImageToSvgConfig, optional | Configuration object containing filter and clustering parameters. Defaults to ImageToSvgConfig() if not provided. |
Returns
| Type | Description |
|---|---|
str | SVG string representation of the image. |