Automatically show PNGinfo when uploading image

This commit is contained in:
trufty
2022-09-19 13:18:16 -04:00
committed by AUTOMATIC1111
parent dd911a47b3
commit 6486ec9a56
2 changed files with 4 additions and 0 deletions

View File

@@ -98,6 +98,9 @@ def run_extras(image, image_folder, gfpgan_visibility, codeformer_visibility, co
def run_pnginfo(image):
if image is None:
return '', '', ''
items = image.info
if "exif" in image.info: