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

Free Support Forum - aspose.com

Ole object image is missing in the Thumbnail


I need to create an image from each slide in the presentation. I am doing that using the getThumbnail(Dimension dim) method of the Slide class. For some reason, final graphic is missing the image of some shapes.

Shapes shapes = slide.getShapes();
for(int k=0; k<shapes.size(); k++)
Shape shape = shapes.get(k);
if (shape instanceof OleObjectFrame)
log.debug("Found an Ole object", shape.getAlternativeText());

BufferedImage sImage = slide.getThumbnail(dimension);

Am I not doing it correct? Please suggest if there is a way to get an image which includes all shapes on the slide. Thanks.

Dear R Peruri

Thanks for considering Aspose.

May be the shape is WordArt object. It is not displayed.

In case of Aspose.Slides for JAVA, you would also need Aspose.Metafiles to display WMF, EMF images.

Please provide your source presentation to look into it.