diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-06-01 03:54:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 03:54:19 +0000 |
commit | e980a4bd88f52ef112abce6dd5f9bc819f7de6b8 (patch) | |
tree | 6ea54366b9dce8012477145f890217b6fe4d54cd | |
parent | 8a561d94e67bc7ce2454172bc238007a8ee99a0d (diff) | |
parent | 0bf09c30c608ebe63fb154bd197e4baad978de63 (diff) | |
download | stable-diffusion-webui-gfx803-e980a4bd88f52ef112abce6dd5f9bc819f7de6b8.tar.gz stable-diffusion-webui-gfx803-e980a4bd88f52ef112abce6dd5f9bc819f7de6b8.tar.bz2 stable-diffusion-webui-gfx803-e980a4bd88f52ef112abce6dd5f9bc819f7de6b8.zip |
Merge pull request #10905 from AUTOMATIC1111/fix-10896-pnginfo-parameters
fix 10896 pnginfo parameters
-rw-r--r-- | modules/images.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/images.py b/modules/images.py index 30e9ffc5..a12d252b 100644 --- a/modules/images.py +++ b/modules/images.py @@ -503,10 +503,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()
|