mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 01:31:09 -06:00
Enhancement: support heic images
This commit is contained in:
@@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user