File size: 666 Bytes
04ea7bb
 
e6f2eb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
04ea7bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Load images from PDF files (using Fitz & PIL)

??? note "Note"
    **Underlying Library:** `fitz` & `pillow`

    Extract images from PDF files using `fitz` and `pillow`.

    Use it in our library with:
    ```python
    from medrag_multi_modal.document_loader.image_loader import FitzPILImageLoader
    ```

    For more details, please refer to the sources below.

    **Sources:**

    - [Docs](https://pymupdf.readthedocs.io/en/latest/intro.html)
    - [GitHub](https://github.com/kastman/fitz)
    - [PyPI](https://pypi.org/project/fitz/)
    - [PyPI](https://pypi.org/project/pillow/)

::: medrag_multi_modal.document_loader.image_loader.fitzpil_img_loader