Hi,
Whenever we upload ppt file which has a chart, it displaying categories and series label starting with a bullet point.
Check check below screen shots here.
Screenshot 2019-03-11 at 3.17.50 PM.png (652.6 KB)
Hi,
Whenever we upload ppt file which has a chart, it displaying categories and series label starting with a bullet point.
Check check below screen shots here.
Screenshot 2019-03-11 at 3.17.50 PM.png (652.6 KB)
Code here
ISlide sld = pres.getSlides().get_Item(slideIndex);
if(!sld.getHidden()) {
//Create a full scale image
BufferedImage image = sld.getThumbnail(2f, 2f);
this.outputResult.appendDimensionToPage(slideIndex, image.getWidth(), image.getHeight());
//Write to file
randomFile = getRandomFile(".png", outputFileNamePrefix, pageIndex);
if (randomFile == null) {
log.error(getWorkerIdLogPrefix() +"Could not create random file");
}
try {
ImageIO.write(image, "PNG", randomFile);
pageIndex++;
}
catch (IOException e) {
log.error(getWorkerIdLogPrefix(), e);
pageIndex--;
}
}
I have observed the sample code. You are trying to generate the thumbnail on your end. Please first try using latest Aspose.Slides for Java 19.2 on your end and if there is still an issue then please share the source presentation, Java and operating system details on your end.
I have just upgraded Aspose.Slide to 19.2 and tested but no success.
Java: jdk16 (added classifier in maven pom.xml)
OS: Ubuntu
1090-1.pptx.zip (49.5 KB)
I have worked with the information shared by you and have created an issue with ID SLIDESJAVA-37598 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.