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?