Import SVG into PowerPoint with Aspose.Slides for Python

I note we can import raster graphics into PowerPoint (JPG, PNG) etc. Can we do the same with Vector graphics without rasterising them?

Thank you for posting your question.

You can add vector images to PowerPoint documents in a similar way:

svgImage = slides.SvgImage(svgContent)
pptImage = presentation.images.add_image(svgImage)
presentation.slides[0].shapes.add_picture_frame(slides.ShapeType.RECTANGLE, 200, 100, pptImage.width, pptImage.height, pptImage)

Documents: Adding SVG to Presentations
API Reference: SvgImage class