Presentation ppt = new Presentation();
ppt.loadFromFile(inputFile);
List<byte[]> bytes=ppt.saveToSVGZ();
for (int i=0;i<bytes.size();i++){
FileOutputStream fileOutputStream=new FileOutputStream(outputFile+"slide"+i+".svgz");
fileOutputStream.write(bytes.get(i));
fileOutputStream.flush();
fileOutputStream.close();
}