We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Ppt转成pdf用时过长

ppt转成pdf用时过长,50Mppt需要用时两小时以上,代码如下:

public Boolean ppt2Pdf(String srcPath, OutputStream outputStream) {
try {
AsposeLicenseUtil.setSlidesLicense();
Presentation presentation = new Presentation(srcPath);
presentation.save(outputStream, com.aspose.slides.SaveFormat.Pdf);
return true;
} catch (Exception e) {
log.error(e.getMessage(), e);
return false;
}
}

@xiefazhi

能否请您分享需要更多时间渲染的源PPT文件,以便我们进一步调查和帮助您。