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 !
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,