In case pikepdf fails to convert an image to a PIL image, fall back to converting pages to PIL images

This commit is contained in:
Trenton H
2022-10-04 12:55:50 -07:00
parent fb2efe5ab8
commit caf4b54bc7
4 changed files with 104 additions and 9 deletions

8
Pipfile.lock generated
View File

@@ -939,6 +939,14 @@
"index": "pypi",
"version": "==2.5.2"
},
"pdf2image": {
"hashes": [
"sha256:84f79f2b8fad943e36323ea4e937fcb05f26ded0caa0a01181df66049e42fb65",
"sha256:d58ed94d978a70c73c2bb7fdf8acbaf2a7089c29ff8141be5f45433c0c4293bb"
],
"index": "pypi",
"version": "==1.16.0"
},
"pdfminer.six": {
"hashes": [
"sha256:5a64c924410ac48501d6060b21638bf401db69f5b1bd57207df7fbc070ac8ae2",