Open
Description
Is your feature request related to a problem? Please describe.
When extracting images from PDF, it goes through convert_pdf_to_image()
, convert each pages to an images in the output_folder
and then process these to generate necessary images. But this folder can get big. Ising tempfile.TemporaryDirectory()
is not always ideal and depending on the process it could
Describe the solution you'd like
Simply adding an extra optional parameter like custom_image_out_folder
to partition_pdf_or_image()
that would be passed down to convert_pdf_to_image()
Describe alternatives you've considered
Not sure that there is an alternative...
Additional context
N/A