Convert PowerPoint Slide to PNG in JAVA

Hello,

Capture.PNG.jpg (189.8 KB)
Currently I use the aspose.slides maven dependency in java. I’m trying to convert the slide to PNG formatted image.

Code usage:
Presentation pres = new Presentation(stream);
ISlide sld = pres.getSlides().get_Item(0);
BufferedImage image = sld.getThumbnail(new Dimension(960, 720));

But I encountered an issue which is attached…

Can you please help me in investigating this issue ?

Thanks,
Mohan.

@tadiparthimohan

As per your sample code, it seems you are using Aspose.Slides for Java on premise API instead of Aspose.Slides REST API. So I’m moving your post to on premise API forum.

This topic has been moved to the related forum: Convert PowerPoint Slide to PNG in JAVA - Free Support Forum - aspose.com