-
Notifications
You must be signed in to change notification settings - Fork 5
Slide Thumbnails
shoaibkhan-aspose edited this page Oct 20, 2014
·
3 revisions
//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 further releases and updates, please follow these new repositories:
- Aspose.Words Java for Apache POI
- Aspose.Cells Java for Apache POI
- Aspose.Slides Java for Apache POI
- Aspose.Email Java for Apache POI
- For documentation, please visit Aspose Docs.
- Raise your queries and suggest more examples via Aspose Forums or via new social coding sites.