Text is overlapping when convert PPT to PNG in Java

Hello,


I tried to convert PPT files with chart to PNG. The text is overlapping.
Please refer to the attachment for the result.

Environment detail:
- Windows 7 Enterprise Service Pack 1
- JDK 8u25
- GroupDocs Conversion 1.3.0 for Java

Code snippet:

ImageSaveOptions options = new ImageSaveOptions();
options.setSaveFileType(FileType.PNG);
options.setResolution(300);
options.setPage(pageNum);
result = conversionHandler.convertToImage(inputStream, fileName, options);

Thanks

Hello ,

Thank you for your inquiry.

We have tested your scenario , but we can't reproduce the issue on our side. Seems that the issue is the same, as you reported earlier , in this thread. Could you please check your file with our demo sample and notify us about the results . If you reproduced the same issue with our sample , then we will investigate it more detail to find a reason.


We will wait for your results.

------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

@agustinoalim

We’d recommend you to use GroupDocs.Conversion for Java version 20.6. We cannot reproduce such an issue using 20.6. Below is the code for such a conversion:

String outputFileTemplate = new File("output folder", "converted-page-%d.png").getPath();

try(FileOutputStream getPageStream = new FileOutputStream(String.format(outputFileTemplate, 1))) {

    Converter converter = new Converter("sample.ppt");
    ImageConvertOptions options = new ImageConvertOptions();
    converter.convert(getPageStream, options);
} catch (IOException e) {
    System.out.println(e.getMessage());
}