convert_image_to_svg method
convert_image_to_svg
Converts a raster image located on disk to SVG format.
def convert_image_to_svg(self, configuration, image_file, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| configuration | aspose.svg.imagevectorization.ImageVectorizerConfiguration | The ImageVectorizerConfiguration that controls tracing parameters. |
| image_file | str | Path to the source image file. |
| output_path | str | Destination path for the generated SVG. |
convert_image_to_svg
Converts a raster image provided as a Stream to SVG format.
def convert_image_to_svg(self, configuration, image_stream, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| configuration | aspose.svg.imagevectorization.ImageVectorizerConfiguration | The ImageVectorizerConfiguration that controls tracing parameters. |
| image_stream | io.RawIOBase | Readable stream that contains the source image. |
| output_path | str | Destination path for the generated SVG. |
See Also
- module
aspose.svg.converters - class
Converter - class
ImageVectorizerConfiguration