产品和版本:Aspose.Slides for Python via. NET (Version: 25.7.0)
编程语言和版本: Python 3.8
部署环境: Ubuntu 20.04.6 LTS
代码片段:
def convert_to_jpg(...):
...
with slides_module.Presentation(ppt_path) as presentation:
for i…...for i in range(slide_count): bmp = presentation.slides[i].get_thumbnail(self...f"{base_name}_slide_{slide_num:02d}.jpg" bmp.save(jpg_path, drawing_module...