revert changes made to migrations

This commit is contained in:
Henning Bunk 2024-01-24 17:21:11 +01:00
parent 21818010b9
commit 86e7b2d094
No known key found for this signature in database
GPG Key ID: 0E6C529A574BC728
3 changed files with 0 additions and 4 deletions

View File

@ -94,8 +94,6 @@ def move_documents_and_create_thumbnails(apps, schema_editor):
"500x5000", "500x5000",
"-alpha", "-alpha",
"remove", "remove",
"-define",
"pdf:use-cropbox=true",
orig_target, orig_target,
os.path.join(thumb_temp, "convert-%04d.png"), os.path.join(thumb_temp, "convert-%04d.png"),
), ),

View File

@ -27,7 +27,6 @@ def _do_convert(work_package):
strip=True, strip=True,
trim=False, trim=False,
auto_orient=True, auto_orient=True,
define="pdf:use-cropbox=true",
input_file=f"{existing_thumbnail}[0]", input_file=f"{existing_thumbnail}[0]",
output_file=str(converted_thumbnail), output_file=str(converted_thumbnail),
) )

View File

@ -53,7 +53,6 @@ def _do_convert(work_package):
strip=True, strip=True,
trim=False, trim=False,
auto_orient=True, auto_orient=True,
define="pdf:use-cropbox=true",
input_file=f"{decrypted_thumbnail}[0]", input_file=f"{decrypted_thumbnail}[0]",
output_file=str(converted_decrypted_thumbnail), output_file=str(converted_decrypted_thumbnail),
) )