Merge pull request #586 from jjisnow/image_info_tab

image info tab
This commit is contained in:
AUTOMATIC1111 2022-09-17 14:57:30 +03:00 committed by GitHub
commit d94b41472e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,8 +111,9 @@ def run_pnginfo(image):
items['exif comment'] = exif_comment
for field in ['jfif', 'jfif_version', 'jfif_unit', 'jfif_density', 'dpi', 'exif']:
del items[field]
for field in ['jfif', 'jfif_version', 'jfif_unit', 'jfif_density', 'dpi', 'exif',
'loop', 'background', 'timestamp', 'duration']:
items.pop(field, None)
info = ''