Open t-ae opened 1 year ago
First argument of convert_from_bytes is pdf_file. https://github.com/Belval/pdf2image/blob/d415156659f76f898ff2d5c9e2884212ee7fac76/pdf2image/pdf2image.py#L277
convert_from_bytes
pdf_file
Its docstring calls it pdf_bytes. https://github.com/Belval/pdf2image/blob/d415156659f76f898ff2d5c9e2884212ee7fac76/pdf2image/pdf2image.py#L302
pdf_bytes
pdf_bytes sounds more accurate for me, but renaming can break compatibility.
First argument of
convert_from_bytes
ispdf_file
. https://github.com/Belval/pdf2image/blob/d415156659f76f898ff2d5c9e2884212ee7fac76/pdf2image/pdf2image.py#L277Its docstring calls it
pdf_bytes
. https://github.com/Belval/pdf2image/blob/d415156659f76f898ff2d5c9e2884212ee7fac76/pdf2image/pdf2image.py#L302pdf_bytes
sounds more accurate for me, but renaming can break compatibility.