๐ PPT Module Guide
This page is currently only available in Chinese. Please switch to ็ฎไฝไธญๆ for the full content.
๐ PPT Module Guide
The PPT module provides 3 core functions focused on format conversion and merging.
Core Scenariosโ
PPT to PDFโ
import office
office.ppt.ppt2pdf(
path='./product_intro.pptx',
output_path='./pdf_files/'
)
PPT to Imageโ
# One image per slide
office.ppt.ppt2img(
input_path='./product_intro.pptx',
output_path='./images/',
merge=False
)
# Merge into a long image
office.ppt.ppt2img(
input_path='./product_intro.pptx',
output_path='./long_image.png',
merge=True
)
Merge Multiple PPTsโ
office.ppt.merge4ppt(
input_path='./chapter_ppts/',
output_path='./full_version/',
output_name='full_product_intro.pptx'
)
Full API see PPT API Reference
AI ๅๅ
ฌๆ็่ฏพ
35 ่ฎฒ AI ่ชๅจๅๅๅ
ฌๅฎๆ่ฏพ็จ Python + AI ๅค็ ExcelใWordใPDFใ้ฎไปถ็ญๅๅ
ฌๅบๆฏใ
ๅปๅญฆไน