Free Support Forum - groupdocs.com

PPT to PNG image conversion issue in Java

Hello,

(latest version 3.0.0)

I have one ppt file(20 pages, embedded images) that when I convert it to png image, process is stopping at
List convertedDocumentPath = conversionHandler.<List>convert(fileName, saveOption);

I got same result using sample code for same file.
could you please tell me the possible reason cause the convert process stopping?

Thanks
Vincent

Hi Vincent,


Thanks for taking interest in GroupDocs.Conversion for Java 3.x and posting your concerns.
I got same result using sample code for same file.
We are not able to reproduce this issue at our end using following code and attached source document (The butterfly effect.ppt):

// Instantiating the conversion handler
ConversionHandler conversionHandler = new ConversionHandler(Utilities.getConfiguration());
SaveOptions saveOption = new ImageSaveOptions();
saveOption.setConvertFileType(ImageSaveOptions.ImageFileType.Png);
saveOption.setOutputType(OutputType.String);
List convertedDocumentPath = conversionHandler.<List> convert(fileName, saveOption);

Can you please provide us the problematic file, so that we can investigate your scenario accordingly.

Many Thanks