From cbc38a903b1257362c8da0326749cba1c6ac7769 Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Thu, 1 Jun 2023 06:54:19 +0300 Subject: [PATCH] Merge pull request #10905 from AUTOMATIC1111/fix-10896-pnginfo-parameters fix 10896 pnginfo parameters --- modules/images.py | 4 ---- 1 file changed, 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()