We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PPT to PNG conversion

We’ve purchased Aspose licence and planned to use it for PPT to PNG conversion. Currently we’re using aspose.slides 7.2.0.
Here is an example of a code:

FileManager fileManager = LFileManagerFactory.getInstance();
Presentation presentation = new Presentation(is);

Slides slides = presentation.getSlides();
int numPages = slides.getCount();
for (int i = 0; i < numPages; i++)
Slide slide = slides.get_Item(i);
BufferedImage image = slide.getThumbnail(1.0f, 1.0f);
File tmpImageFile = fileManager.getTemporaryFile(helper.formatPngFileName(i));
ImageIO.write(image, “png”, tmpImageFile);

There are few issues with the output
- text is getting moved : words “gestures”, “project” for example ( please see attached files )
- lines in the images are a bit fuzzy

Please take a look at the input ppt and output png files for reference.
Do you have any suggestions for fixing these issues?
Thank you.

Hi Victoria,

I have worked with the presentation file shared using Aspose.Slides for Java 7.3.0 on my end and have not been able to observe the issue specified. Please use the specified version on your end for further investigation.

Many Thanks,