JPEG Thumbnails have the wrong color

Hi there,

I have found another issue with Aspose Slides 3.0.0 for Java while generating thumbnails.

(I cannot use the current version because of the exception bug while creating / opening PPTX files.)

jre: 1.7.0_09 x64

I am using the following method to generate a thumbnail for my presentation:

I call it with the following arguments:

fileName: "C:/slides_test/out_1.pptx"
format: "jpg"
sizeX: 1024
sizeY: 768

public void saveThumbnail(String fileName, String format, int sizeX, int sizeY)
{
SlideEx firstSlide = _presentation.getSlides().get_Item(0);

Dimension imageDimension = new Dimension(sizeX, sizeY);
BufferedImage thumbnail = firstSlide.getThumbnail(imageDimension);

try
{
ImageIO.write(thumbnail, format, new File(fileName));
}
catch (IOException e)
{
e.printStackTrace();
}
}
The problem only exists with jpg files. gif and png are saved just fine.

Hi,


I have observed the issue shared by you and like to share that it has been resolved in Aspose.Slides for Java 6.7.0. Please try using the specified product version on your end and if there is any issue please share with us.

Many Thanks,