Whenever, i run the following code after installing Aspose.Slides library, my google colab runtime disconnects. Anybody please help why is this issue arising how can i use this library to convert pptx to png in google colab!
below is the code!!!
import aspose.slides as slides
with slides.Presentation() as presentation:
slide = presentation.slides[0] slide.shapes.add_auto_shape(slides.ShapeType.LINE, 50, 150, 300, 0) presentation.save("NewPresentation_out.pptx", slides.export.SaveFormat.PPTX)