Closed magnurud closed 5 months ago
If you can implement it that same way it is implemented in convert_from_path
and convert_from_bytes
I'd happily accept a PR: https://github.com/Belval/pdf2image/blob/master/pdf2image/pdf2image.py#L41
If you can implement it that same way it is implemented in
convert_from_path
andconvert_from_bytes
I'd happily accept a PR: https://github.com/Belval/pdf2image/blob/master/pdf2image/pdf2image.py#L41
Describe the bug
pdfinfo_from_bytes
andpdfinfo_from_path
does not have support for optional arguments -f and -l.From the documentation:
−f number
Specifies the first page to examine. If multiple pages are requested using the "−f" and "−l" options, the size of each requested page (and, optionally, the bounding boxes for each requested page) are printed. Otherwise, only page one is examined.
−l number
Specifies the last page to examine.
Expected behavior I would expect to be able to get info from several pages of the pdf.