ComfyUI Node
Extract PDF (PyMuPDF)
Extracts embedded PDF images and text with PyMuPDF.
Extract PDF (PyMuPDF)
- images
- text
- metadata_json
- page_count
- image_count
◄page_rangeall►
◄extract_imagestrue►
◄extract_texttrue►
◄render_pages_if_no_imagesfalse►
◄render_dpi96►
◄max_pages20►
◄max_images20►
◄resize_mode▾►
Categorypdf/PyMuPDF
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| PYMUPDF_PDF | — | ||
| page_range | STRING | all | — |
| extract_images | BOOLEAN | true | — |
| extract_text | BOOLEAN | true | — |
| render_pages_if_no_images | BOOLEAN | false | — |
| render_dpi | INT | 9636–300 | — |
| max_pages | INT | 200–10000 | — |
| max_images | INT | 200–10000 | — |
| resize_mode | COMBO | 3 options: fit_first, fit_smallest, pad_largest |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| text | STRING | — |
| metadata_json | STRING | — |
| page_count | INT | — |
| image_count | INT | — |