Aspose.Slides - Create Slide Thumbnail

//Instantiate a Presentation class that represents the PPTX file
Presentation pres = new Presentation("data/presentation.pptx");

//Access the first slide
ISlide sld = pres.getSlides().get_Item(0);

//Create a full scale image
BufferedImage image = sld.getThumbnail(1f, 1f);

//Save the image to disk in JPEG format
ImageIO.write(image,"jpeg",new File("data/AsposeThumbnail.jpg"));

Download Source Code
For More Examples, Please Visit Aspose Docs

Last edited Oct 14, 2014 at 7:31 PM by shoaibkhan, version 6