Blank image when convert PTTX slide into image using jdk1.4 jar

I encounter the problem in Java slides version 2.5.0 (the latest
one) with PPTX files. When I try to save a PPTX slide as an image (using
pptx library - com.aspose.slides.pptx.PresentationEx and etc.) I get
blank image file for every slide. JAI and JAI Image I/O is installed and the
same presentation in old format (PTT) is converted OK (using
com.aspose.slides.Presentation class and etc.) - I can see an image for
every slide.

The code is the same as in examples:


//Instantiate a PresentationEx class that represents the PPTX file

PresentationEx pres = new PresentationEx(“d:\pptx\ContentBG_ImgJ.pptx”);

//Access the first slide

SlideEx sld = pres.getSlides().get(0);

//Create a full scale image

BufferedImage img = sld.getThumbnail(1f, 1f);

//Save the image to disk in JPEG format

ImageIO.write(img, “JPG”, new File(“d:\pptx\ContentBG_tnailJ.jpg));

} catch (IOException e) {

// TODO Auto-generated catch block



I want to note once again that the same code works ok for PPT (the only change that we will not use com.aspose.slides.pptx.* classes).

I work with library for jdk1.4.

Hi Malemandala,

I have observed the code snippet and it seems fine. Can you please share the source presentation along with information about which version of Aspose.Slides for Java you are using.

Thanks and Regards,

As I wrote previously I use the latest 2.5.0 version of Aspose.Slides on jdk1.4 (aspose.slides-2.5.0-jdk14.jar)

Attaching file…

As I see it for now it skips everything in slide (text, shapes) excluding real inserted pictures (jpeg and etc)…

Hi Malemandala,

I have observed the issue shared by you. An issue with ID 29027 has been created in our issue tracking system to further investigate and resolve the issue. We will share the further information with you once it is resolved.

Thanks and Regards,

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

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.