mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 11:36:39 +01:00
Use optipng to optimise document thumbnails
This commit is contained in:
parent
2a3f766b93
commit
750ab5bf85
9 changed files with 85 additions and 22 deletions
|
|
@ -76,7 +76,12 @@ def binaries_check(app_configs, **kwargs):
|
|||
error = "Paperless can't find {}. Without it, consumption is impossible."
|
||||
hint = "Either it's not in your ${PATH} or it's not installed."
|
||||
|
||||
binaries = (settings.CONVERT_BINARY, settings.UNPAPER_BINARY, "tesseract")
|
||||
binaries = (
|
||||
settings.CONVERT_BINARY,
|
||||
settings.OPTIPNG_BINARY,
|
||||
settings.UNPAPER_BINARY,
|
||||
"tesseract"
|
||||
)
|
||||
|
||||
check_messages = []
|
||||
for binary in binaries:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue