docx4imgs Skill
SkillDocs & knowledgeExtracts all images from a Word document and saves them to a specified directory. Use when the user mentions extracting images from Word, pulling images out of docx, or getting images from Word.
Use docx4imgs Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add docx4imgs Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the docx4imgs 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/word/docx4imgs/SKILL.md and read by ahel’s review.
从 Word 里提取图片
功能描述
从 Word 文档中提取所有图片,并保存到指定目录。会自动根据 word 名称在指定文件夹下生成一个子目录。
所属分类
office/skills/word/docx4imgs/
调用方式
from skills.word import docx4imgs
docx4imgs(
word_path='./test.docx',
img_path='./images/'
)
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
word_path | str | 是 | - | Word 文档的路径 |
img_path | str | 是 | - | 提取图片的存储位置。会根据 word 名称在指定文件夹下自动生成一个子目录 |
返回值
None
使用示例
from skills.word import docx4imgs
docx4imgs(word_path='./document.docx', img_path='./extracted_images/')
原始函数
office.api.word.docx4imgs
Signals
- GitHub stars
- 1k
- Forks
- 303
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
docx4imgs- 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 Pythondocx
Skill · axoviq-ai
The pick for Wordhandoff
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledge