Hi,
ich habe a Problem with Thumbnail Function by PPTX, orignal ppt sceenshoot is http://tmp.liusai.info/original_ppt.png
but result is http://tmp.liusai.info/slide_2.png
It seem miss something.
Image format is png.
Code is:
for(int i = 0; i < len; i++){
SlideEx slide = slides.get(i);
BufferedImage image = slide.getThumbnail(1f, 1f);
String imagePath = this.outputDirPath + File.separator + “slide_” + (i + 1) + “.png”;
try {
ImageIO.write(image,“png”, new File(imagePath));
} catch (IOException e) {
e.printStackTrace();
}
}
ps: If with jpg format, the image have allways a extra Red Background, by every PPTX.
Thanks
Hi Sai,
I have observed the missing shapes in the rendered image as shared by you and its a deficiency in Aspose.Slides. The requested feature for rendering of 3-D shapes is not yet implemented in Aspose.Slides for Java. Please share your source presentation, so that we ma reproduce the issue on our end and add it in our issue tracking system for further investigation and resolution. We appreciate your cooperation in advance.
Thanks and Regards,
Hi Mudassir,
thanks for your reply. here is PPTX file. http://tmp.liusai.info/2009.pptx
I got a new problem with getThumnail funkction.
In slide 1 right-under is there a image, but in Thumbnail is this image double, one more.http://tmp.liusai.info/slide_1.png
When i convert this pptx file in ppt file with office 2007, and with slide.getThumbnail, the 2 problem no longer exists. All OK. I hope this can help you to slove these problem.
Thanks
Hi Sai,
I have been able to reproduce the issue of twice rendering of slide image shape in the generated PNG image along with other rendering issues. An issue with ID 17608 has been created in our issue tracking system and further resolution. This thread has also been linked with the same issue, so that you may be automatically notified, once the issue is resolved.
We are sorry for your nuisance,