Free Support Forum - aspose.com

Thumbnail Images issue - PPTX by using jdk1.4

Hi,
We are generating thumbnail images for a PPTX presentation. But if we used jdk1.4 and the library aspose.slides-2.5.0-jdk14.jar, an Exception occurred. Please find below the exception and code snippet. Please suggest.


java.lang.ClassCastException: com.aspose.slides.obfuscated.bil
at java.awt.font.TextLayout.singleFont(TextLayout.java:565)
at java.awt.font.TextLayout.(TextLayout.java:630)
at com.aspose.slides.ImageCanvas.drawString(SourceFile:175)
at com.aspose.slides.pptx.SlideEx.do(SourceFile:304)
at com.aspose.slides.pptx.SlideEx.getThumbnail(SourceFile:374)

PresentationEx pres = new PresentationEx("d:\\test.pptx");
SlideEx sld = pres.getSlides().get(0);
BufferedImage img = sld.getThumbnail(1, 1);
ImageIO.write(img, "JPG", new File("d:\\test_out.jpg"));

Hi David,

I have worked with the code snippet shared by you using Aspse.Slides for Java 2.5.0 with JDK 1.4 and have been able to observe the issue specified. An issue with ID 27319 has been created in our issue tracking system to further investigate and resolve the issue specified. This thread has also been linked with the issue so that you may be automatically notified once the issue is resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as 27319) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.