ppt2img Skill

SkillDocs & knowledge

Converts 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.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

ppt2img SkillStart free

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_pathstr是-存放 PPT 的位置。转换单个文件可以写文件路径,转换文件夹可以写文件夹路径
output_pathstr否'./'结果图片的存储位置
mergebool否FalseTrue 转为 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