extract_pdf_images
Extract images from PDF files by specifying page range and minimum size. Save extracted images to a directory.
Instructions
Extract images from PDF pages.
Args:
file_path: Path to PDF file
pages: Page range (e.g., '1,3,5-10,-1' for specific pages)
min_size: Minimum image size to extract (format: 'WIDTHxHEIGHT', e.g., '100x100')
output_dir: Directory to save extracted images (default: auto-generated)
Returns:
JSON string with extraction results and file pathsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| pages | No | ||
| min_size | No | 100x100 | |
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |