extract_document_images
Extract embedded images from DOCX files to obtain structured metadata and optionally save image files to a specified directory.
Instructions
Extracts embedded images from a DOCX file and returns structured JSON metadata.
:param filename: Path to the DOCX document :param output_dir: Optional directory to save extracted images :return: JSON payload containing extracted image metadata and saved file paths
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |