We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

getThumbnail transform blue into red on some images


When we’re trying to get a Thumbnail of a slide containing images, sometimes, the color of some images change. In the example I send you, the background color of 3 images turn from blue to red.

We are using the 2.2.0 version of aspose slides (and 1.6.1 version of Metafiles, don’t know if it is important in this example).

Here is the code we used to generate the thumbnail :

String path = “(…)/images red.ppt”;
String savePath = “(…)/images red.jpg”;
Presentation pres = new Presentation(new FileInputStream(path));
BufferedImage temp = pres.getSlideByPosition(1).getThumbnail(new Dimension((int)pres.getSlideSize().getX(),(int)pres.getSlideSize().getY()));
ImageIO.write(temp, “jpg”, new File(savePath));

Please find the ppt in the attachements

Thank you for your answers !


Hi Adrien,

I have worked with your shared presentation and have been able to reproduce the issue specified by you. An issue with ID 17990 has been created in our issue tracking system for resolving the specified issue. 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 SLIDESJAVA-17990) have been fixed in this update.

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