mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Entirely removes the optipng, updates ghostscript fall back to also use WebP. Updates the conversion to use a multiprocessing pool
This commit is contained in:
parent
7d9a9033f9
commit
e8868d7ebf
17 changed files with 65 additions and 162 deletions
|
|
@ -29,7 +29,7 @@ def _process_document(doc_in):
|
|||
if existing_thumbnail.exists() and existing_thumbnail.suffix == ".png":
|
||||
existing_thumbnail.unlink()
|
||||
|
||||
thumb = parser.get_optimised_thumbnail(
|
||||
thumb = parser.get_thumbnail(
|
||||
document.source_path,
|
||||
document.mime_type,
|
||||
document.get_public_filename(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue