How to Extract an AutoShape Image from a Presentation as a Vector in Python?

How to extract an autoshape/table/PictureFrame shape as a vector without reducing its size and extracting as a thumbnail image.

I want an alternative to this:

with shape.get_thumbnail() as bitmap:
    bitmap.save(foldername+autoshape_filename.format(shape_num,slide_num), drawing.imaging.ImageFormat.png)

@Naveenj,
Thank you for posting the question.

With Aspose.Slides for Python, you can convert an AutoShape object to an SVG image like this:

with open("shape.svg", 'wb') as file_stream:
    shape.write_as_svg(file_stream)