Free Support Forum - aspose.com

Thumbnail generated using Slides 3.0.0 does not retain the white background

Hi All,

We are using Aspose Slides 3.0.0 to generate thumbnails for slides. Here is the code we used -

String path =“C:\Doc_PPT_005.pptx”;
PresentationEx presentation = new PresentationEx(path);
SlidesEx slides = presentation.getSlides();
SlideEx aSlide = slides.get_Item(0);
BufferedImage image = aSlide.getThumbnail(new Dimension(300,300));
ImageIO.write(image, “jpeg”, new File(“C:\Output\Temp.jpeg”));

The background of the PPT is white, but the background of the generated JPEG image seems to be orange. This is a critical issue and seems to be a regression with Slides 3.0.0.

Please take a look at the attached PPT and JPEG and advise.

Thanks,
Smitha

Hi Smitha,


I have observed the presentation files along with image shared by you. I like to share that there have been issue while generating BMP and JPEG formats. An issue with ID SLIDESJAVA-33549 has already been created to resolve the issue. The said issue has been resolved as well and the fix for this will be available in Aspose.Slides for Java 6.7.0, which is due for release during first decade of December, 2012. For the time being, you can use PNG and GIF formats as they work fine.

We are sorry for your inconvenience,

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


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