ppt2img Skill
SkillDocs & knowledgeConverts PowerPoint to images, either merged into one long image or multiple images. Use when the user mentions PPT to image, PPT screenshots, PPT to long image, or slide screenshots.
Use ppt2img Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add ppt2img Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the ppt2img Skill skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coderwanfeng/python-office in skills/ppt/ppt2img/SKILL.md and read by ahel’s review.
将 PPT 转换为图片,可以转为长图
功能描述
将 PowerPoint 文件转换为图片,支持合并为一张长图或多张图片。
所属分类
office/skills/ppt/ppt2img/
调用方式
from skills.ppt import ppt2img
ppt2img(
input_path='./test.pptx',
output_path='./',
merge=False
)
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_path | str | 是 | - | 存放 PPT 的位置。转换单个文件可以写文件路径,转换文件夹可以写文件夹路径 |
output_path | str | 否 | './' | 结果图片的存储位置 |
merge | bool | 否 | False | True 转为 1 张图片,False 转为多张图片 |
返回值
None
使用示例
from skills.ppt import ppt2img
# 转为多张图片
ppt2img(input_path='./presentation.pptx', output_path='./images/')
# 转为一张长图
ppt2img(input_path='./presentation.pptx', merge=True)
原始函数
office.api.ppt.ppt2img
Signals
- GitHub stars
- 1k
- Forks
- 303
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
ppt2img- Source
- github.com/coderwanfeng/python-office
github.com/coderwanfeng/python-office
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythongolden-pptx-kw
Skill · yusufkaraaslan
The pick for Powerpointpptx-posters
Skill · k-dense-ai
The pick for Powerpointhandoff
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledge