mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 21:16:56 +01:00
Chore: Backend dependencies update (#5676)
This commit is contained in:
parent
c508be6ecd
commit
b60e16fe33
14 changed files with 718 additions and 602 deletions
|
|
@ -205,9 +205,9 @@ class RasterisedDocumentParser(DocumentParser):
|
|||
}
|
||||
|
||||
if "pdfa" in ocrmypdf_args["output_type"]:
|
||||
ocrmypdf_args[
|
||||
"color_conversion_strategy"
|
||||
] = self.settings.color_conversion_strategy
|
||||
ocrmypdf_args["color_conversion_strategy"] = (
|
||||
self.settings.color_conversion_strategy
|
||||
)
|
||||
|
||||
if self.settings.mode == ModeChoices.FORCE or safe_fallback:
|
||||
ocrmypdf_args["force_ocr"] = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue