Token导航 LogoToken导航TokenDH.com
图像处理需要联网clawhub未标认证来源可访问clear审计提醒

image2pptximage2pptx 演示文稿

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

3,634

周安装

147

GitHub Stars

2

下载量

1,141
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:image2pptx(image2pptx 演示文稿)
来源仓库:https://github.com/minutemighty/image2pptx
安装命令:
openclaw skills install image2pptx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install image2pptx

简介

将静态图像转换为可编辑的 PowerPoint 文件。

  • 支持 OCR 文本识别与智能排版还原。image2pptx 属于图像处理类 Skill,可作为该场景下的辅助能力补充。
  • 适用于幻灯片、海报与信息图表转换场景。
  • 依赖经典 CV 技术进行墨水像素检测与掩码剪辑。
  • 通过 clawhub 安装,适用于 OpenClaw 宿主环境。

SKILL.md

name
image2pptx
description
>
metadata
author
Jade Liu
source
https://github.com/JadeLiu-tech/px-image2pptx
risk
low

image2pptx: Image to Editable PowerPoint

What It Does

Converts a static image into an editable .pptx file where every text element is a selectable, editable text box over a clean inpainted background.

  1. OCR (PaddleOCR PP-OCRv5) — detects text regions with bounding boxes and content
  2. Textmask (classical CV) — finds text ink pixels via adaptive thresholding
  3. Mask-clip — ANDs textmask with OCR bboxes to preserve non-text elements
  4. Inpaint (LAMA) — reconstructs masked regions with neural inpainting
  5. Assemble — places editable text boxes with auto-scaled fonts and detected colors

When to Use

ScenarioRecommendation
Slide with text on solid/flat backgroundBest results
Slide with photo backgroundGood — uses inpainting (warn about overlap areas)
Slide with solid backgroundGood — use --skip-inpaint for speed
Chinese/multilingual slideGood — ch OCR handles both Chinese and English
Poster or infographic with textGood — works well if text is separate from graphics
Dense chart with axis labels on barsCaution — line grouping may over-merge crowded labels
Very thick/large decorative fontsCaution — may exceed standard mask dilation range
Extract individual assets as PNGsNo — use px-asset-extract
Read text without creating PPTXNo — use OCR directly
Edit an existing .pptx fileNo — use the pptx skill

Installation

git clone https://github.com/JadeLiu-tech/px-image2pptx.git
cd px-image2pptx
pip install -e ".[all]"

Usage

CLI

px-image2pptx slide.png -o output.pptx
px-image2pptx slide.png -o output.pptx --lang ch
px-image2pptx slide.png -o output.pptx --skip-inpaint
px-image2pptx slide.png -o output.pptx --ocr-json text_regions.json
px-image2pptx slide.png -o output.pptx --work-dir ./debug/

Python API

from px_image2pptx import image_to_pptx

report = image_to_pptx("slide.png", "output.pptx")

# With options
report = image_to_pptx(
    "slide.png", "output.pptx",
    lang="ch",
    skip_inpaint=False,
    work_dir="./debug/",
)

CLI Options

OptionDefaultDescription
-o, --outputoutput.pptxOutput PPTX path
--ocr-jsonPre-computed OCR JSON (skips OCR)
--langautoOCR language: auto, en, ch
--sensitivity16Textmask sensitivity (lower = more)
--dilation12Textmask dilation pixels
--min-font8Min font size in points
--max-font72Max font size in points
--skip-inpaintSkip LAMA inpainting
--work-dirSave intermediate files

Models

Downloaded automatically on first use (~370 MB total). All models are from official open-source repositories.

ModelSizeLicenseSource
PP-OCRv5_server_det84 MBApache 2.0PaddlePaddle/PaddleOCR
PP-OCRv5_server_rec81 MBApache 2.0PaddlePaddle/PaddleOCR
big-lama196 MBApache 2.0advimman/lama

Models are cached locally after first download (~/.paddlex/official_models/ for OCR, ~/.cache/torch/hub/checkpoints/ for LAMA). To skip model downloads entirely, use --ocr-json with pre-computed OCR and --skip-inpaint.

Limitations — When to Warn the User

InputImpactWhat to tell the user
Text on solid/flat backgroundBest resultsNo caveats needed
Text on textured backgroundGood resultsLAMA handles repeating textures well
Text overlapping photosInpainting artifacts likely"Areas where text covers photos may show blurring"
Dense chart with many labelsOver-merged labels"Crowded labels may be grouped incorrectly"
Very thick/large fontsIncomplete mask coverage"Large fonts may exceed dilation range — try increasing --dilation"
Light text on dark backgroundBlockier inpainting"White-on-dark text uses box masks instead of tight ink masks"
WebP imageOCR fails (0 regions)Convert to PNG first: Image.open("in.webp").save("in.png")
Very large image (>4000px)Slow inpaintingSuggest --skip-inpaint or downscaling
Decorative/handwritten fontsTypeface won't match"Fonts are reconstructed as Arial/Helvetica"
Centered/justified textLeft-aligned output"Text alignment is not preserved"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.26%
按下载量换算1,076

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills