Free Support Forum -

Convert PowerPoint Slide to PNG in JAVA


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 ?



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: