docx4imgs Skill

SkillDocs & knowledge

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

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

docx4imgs SkillStart free

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_pathstr是-Word 文档的路径
img_pathstr是-提取图片的存储位置。会根据 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