我只需实现pptx 转为图片,要求转化后字体大小样式等 和原pptx 一样;我使用以下代码会出现字体重叠,字体变粗等样式改变的错误。
1.aspose 17.7
2.office 2013 pptx
Presentation pres = new Presentation(sourcePathString);
int i = 0;
ISlideCollection slides = pres.getSlides();
for (ISlide sld : slides) {
// Create a full scale image
BufferedImage image = sld.getThumbnail(1f, 1f);
i++;
// Save the image to disk in JPEG format
try {
ImageIO.write(image, "png", new File(destDir + File.separator
+ i + "AsposeThumbnail_Out.png"));
} catch (IOException e) {
System.out.println("������쳣��");
}
}
1.用哪个版本aspose slide for java
2. 是需要设置LoadOptions?