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