extract_images
Extract all images from a Word document into a folder, naming each file by image index and reporting pixel dimensions and location, while refusing existing file collisions before writing.
Instructions
Extract every image in the document to files in output_dir, named by list_images index plus the original extension (image0.png, ...; prefix replaces 'image'). Media referenced only from headers/footers/notes gets the next indices with the referencing part reported. Each entry reports the output file, native pixel dimensions, and where the image appears (body paragraph/table index). Collisions with existing files are refused before anything is written. Read-only against the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | ||
| file_path | Yes | ||
| output_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||