Commit 3a0d6b77 authored by AUTOMATIC's avatar AUTOMATIC

make it so that PNG images with EXIF do not lose parameters in PNG info tab

parent 38b7186e
...@@ -605,6 +605,7 @@ def read_info_from_image(image): ...@@ -605,6 +605,7 @@ def read_info_from_image(image):
except ValueError: except ValueError:
exif_comment = exif_comment.decode('utf8', errors="ignore") exif_comment = exif_comment.decode('utf8', errors="ignore")
if exif_comment:
items['exif comment'] = exif_comment items['exif comment'] = exif_comment
geninfo = exif_comment geninfo = exif_comment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment