aboutsummaryrefslogtreecommitdiff
path: root/modules/extras.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-09-17 14:57:30 +0300
committerGitHub <noreply@github.com>2022-09-17 14:57:30 +0300
commitd94b41472e0e799ab0059fd711f52f1fba954be6 (patch)
treea183247f90049207a5af64b2882c0f92136ee6fe /modules/extras.py
parent1ef79f926e6314b3ef9308b12ff7ad482afd790a (diff)
parent0d7fdb179104e48983d07e0175021f0e4bdc2d55 (diff)
Merge pull request #586 from jjisnow/image_info_tab
image info tab
Diffstat (limited to 'modules/extras.py')
-rw-r--r--modules/extras.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/extras.py b/modules/extras.py
index 38d6ec48..3d9d9f7a 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -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 = ''