Hi,
Please Help
Using Linux environment cant able to read properly
Please find the attached two images of after and before.
I m using Free version and below are the codes mention:-
Presentation presentation = new Presentation();
//load an example PPTX file
presentation.loadFromFile(serverFile.getAbsolutePath());
//loop through the slides
for (int i = 0; i < presentation.getSlides().getCount(); i++) {
//save each slide as a BufferedImage
BufferedImage image = presentation.getSlides().get(i).saveAsImage();
//save BufferedImage as PNG file format
String fileName1 = String.format(dpath+"ToImage-%1$s.png", i);
ImageIO.write(image, "PNG",new File(fileName1));
}
presentation.dispose();
Thanks