GroupDocsGists
10/24/2017 - 8:24 AM

savePresentationToImageFromFile.java

// For complete examples and data files, please go to https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-Java
String sourcePath = Utilities.sourcePath + sourceFile;
//path to image folder
String imageFolderPath = Utilities.resultFilePath.toString();		 
//Open  document
ComparisonPresentationBase presentation = new ComparisonPresentation(sourcePath);		 
//Set settings
ComparisonSlidesImageSettings settings = new ComparisonSlidesImageSettings();		 
//Save as Image
presentation.saveAsImages(imageFolderPath, settings);