Star Shape can not export correctly

Hello Aspose team,

I can not convert correctly an star image. Bellow is my code:

/**

* Write image to stream

* @param pptPre

* @param pos

* @param stream

* @param width

* @param heigh

*/

public static void writeImage(Presentation pptPre, int pos, ServletOutputStream stream, int width, int heigh) {

BufferedImage thumnail = pptPre.getSlideByPosition(pos).getThumbnail(

new Dimension(width, heigh));

try {

ImageIO.write(thumnail, "jpeg", stream);

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace();

}

}

Look at attach file for slide and image output. Please help me. I don't know if I have some wrong or is it a bug.

Thanks you


This message was posted using Page2Forum (attachment) from Creating Slide Thumbnail Image - Aspose.Slides for Java

Hello,

Are you sure you use latest version of Aspose.Slides for Java? I tested your presentation with latest 2.0.0.4 release and star was rendered properly.

Mistake at me. I used last version too. But I miss required library. I had just installed jai_imageio-1_0_01-lib-windows-i586 and jai-1_1_2_01-lib-windows-i586 so export wrong image. I try installing more: jai_imageio-1_0_01-lib-windows-i586-jdk, jai_imageio-1_0_01-lib-windows-i586-jre, jai-1_1_2_01-lib-windows-i586-jdk and jai-1_1_2_01-lib-windows-i586-jre. It works well now.

Many Thanks,