mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
a couple fixes and more supported image files
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user