Apache POI SL - Convert Slide to Image

// Convert the slides to PNG files
PPTX2PNG.main(new String[]{"presentation.pptx"});

Aspose.Slides

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

//Instantiate the TiffOptions class
TiffOptions opts = new TiffOptions();

//Set Image Size
opts.setImageSize(new Dimension(500, 400));

//Save the prsentation to TIFF with specified image size
pres.save("data/Aspose_PPT-TIFF.tiff", SaveFormat.Tiff, opts);

Download Source Code

For More Examples, Please Visit Aspose Docs

Last edited Aug 29, 2014 at 6:05 AM by shoaibkhan, version 3