From 213f827e721f6d4eb491030494fe3dcdadd2db48 Mon Sep 17 00:00:00 2001 From: Henning Bunk Date: Wed, 31 Jan 2024 18:53:19 +0100 Subject: [PATCH] revert changes for converting png files --- src/documents/management/commands/document_importer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/documents/management/commands/document_importer.py b/src/documents/management/commands/document_importer.py index 665e51fcf..c166ec0cb 100644 --- a/src/documents/management/commands/document_importer.py +++ b/src/documents/management/commands/document_importer.py @@ -290,7 +290,6 @@ class Command(BaseCommand): strip=True, trim=False, auto_orient=True, - define="pdf:use-cropbox=true", input_file=f"{thumbnail_path}[0]", output_file=str(document.thumbnail_path), )