a couple fixes and more supported image files

This commit is contained in:
jonaswinkler
2020-12-02 17:39:49 +01:00
parent 5e1543bad5
commit e3ce573fbb
8 changed files with 41 additions and 4 deletions

View File

@@ -65,7 +65,10 @@ class RasterisedDocumentParser(DocumentParser):
def is_image(self, mime_type):
return mime_type in [
"image/png",
"image/jpeg"
"image/jpeg",
"image/tiff",
"image/bmp",
"image/gif",
]
def get_dpi(self, image):