mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-06-18 15:07:26 -05:00
Enhancement: support heic images
This commit is contained in:
parent
5a278381e3
commit
343dae8045
@ -108,6 +108,7 @@ class RasterisedDocumentParser(DocumentParser):
|
||||
"image/bmp",
|
||||
"image/gif",
|
||||
"image/webp",
|
||||
"image/heic",
|
||||
]
|
||||
|
||||
def has_alpha(self, image) -> bool:
|
||||
|
@ -16,5 +16,6 @@ def tesseract_consumer_declaration(sender, **kwargs):
|
||||
"image/gif": ".gif",
|
||||
"image/bmp": ".bmp",
|
||||
"image/webp": ".webp",
|
||||
"image/heic": ".heic",
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user