aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-06-05 06:13:41 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-06-05 06:13:41 +0300
commitbaf6946e06249c5af9851c60171692c44ef633e0 (patch)
tree480bc25c6861964aba9bcf8ac8b3b887fd91518e /modules/images.py
parentb6af0a3809ea869fb180633f9affcae4b199ffcf (diff)
parent6f754ab98bcd4b61f5cc6d6a9bfc6be7722373a9 (diff)
Merge branch 'release_candidate'
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/images.py b/modules/images.py
index 3f60e944..40efc96c 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -488,10 +488,6 @@ def save_image_with_geninfo(image, geninfo, filename, extension=None, existing_p
image_format = Image.registered_extensions()[extension]
- existing_pnginfo = existing_pnginfo or {}
- if opts.enable_pnginfo:
- existing_pnginfo['parameters'] = geninfo
-
if extension.lower() == '.png':
if opts.enable_pnginfo:
pnginfo_data = PngImagePlugin.PngInfo()