This commit is contained in:
wiredfool 2013-10-07 23:03:13 -07:00
parent e6c8e5abec
commit 2188cf2baf

View File

@ -1000,7 +1000,7 @@ def _save(im, fp, filename):
IPTC_NAA_CHUNK, PHOTOSHOP_CHUNK, XMP):
if key in im.tag:
ifd[key] = im.tag[key]
ifd.tagtypes[key] = im.tag.tagtype.get(key, None)
ifd.tagtype[key] = im.tag.tagtype.get(key, None)
# preserve ICC profile (should also work when saving other formats
# which support profiles as TIFF) -- 2008-06-06 Florian Hoech