Keep EXIF on processed images

This commit is contained in:
Gabriel Augendre 2020-08-29 09:55:31 +02:00
parent 84a1b11315
commit 049fcb2dce
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -42,6 +42,7 @@ class Attachment(models.Model):
"resize": 3, "resize": 3,
"resize_width": 640, "resize_width": 640,
"resize_height": 10000, "resize_height": 10000,
"keep_exif": 1,
"file_paths": json.dumps( "file_paths": json.dumps(
[f"{self.original_file.name}:{self.original_file.path}"] [f"{self.original_file.name}:{self.original_file.path}"]
), ),