extract_document_images
Extract embedded images from a PDF as base64 PNG, including page, dimensions, and size. Optionally inventory images without payloads to reduce transfer, returning metadata only for oversized files.
Instructions
Extract embedded images from a PDF as base64 PNG (PyMuPDF). Each image carries page, width, height and byte size. Set include_data=false to inventory images without transferring payloads; oversized images return metadata only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| pdf_path | Yes | ||
| max_images | No | ||
| include_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |