extract_pdf_image

extract_pdf_image(
    pdf_path: str,
    output_dir: str,
    page_number=None
) -> 

Extracts images from a PDF file and saves them to the specified output directory.

Parameters:
NameDescription
pdf_pathThe path to the PDF file.

Type: str
output_dirThe directory to save the extracted images.

Type: str
page_number=None