region : korea, korean
Hi, Please Help
We are testing the conversion of Presentation files to images.
I am using the free version.(Java dependency - spire.presentation.free 3.9.0)
It works normally in a Windows environment, but it works abnormally in a Linux environment.
In the Linux environment, Hangul is overlapped and the image is saved.
- Code: Select all
Presentation ppt = new Presentation();
ppt.loadFromFile(pptFilePath);
//Save PPT document to images
for (int i = 0; i < ppt.getSlides().getCount(); i++) {
BufferedImage image = ppt.getSlides().get(i).saveAsImage();
ImageIO.write(image, "PNG", new File(imgPath + fid + ext));
}