spire.presentation for python 11.8.1 已发布。该版本支持将 pptx 保存为视频,并修复了两个在转换和加载 ppt 文件时出现的问题。详情请查看下文。
新功能:
- 支持将 pptx 保存为视频(.mp4/.wmv)。
ppt = presentation()
ppt.loadfromfile(inputfile)
savetovideooption saveoption = new savetovideooption(ffmpegdir)
ppt.savetovideooption=saveoption
ppt.savetofile(outputfile_mp4, fileformat.mp4)
ppt.savetofile(outputfile_wmv, fileformat.wmv)
ppt.dispose()
问题修复:
- 修复了 ppt 转图片时,程序挂起的问题。
- 修复了加载 ppt 文件报错的问题。
获取spire.presentation for python 11.8.1,请点击:
https://www.e-iceblue.cn/downloads/spire-presentation-python.html




