-
Automatically convert some EXIF tags from UCS2 encoding to UTF-8 encoding.
Details
For example, the previous effect:
>>> img.read_exif()['Exif.Image.XPKeywords'] '116 0 101 0 115 0 116 0 0 0'
The current effect:
>>> img.read_exif()['Exif.Image.XPKeywords'] 'test\x00'
-
Automatically convert some IPTC tags to List type, even if they do not have multiple values.
Details
For example, the previous effect:
>>> img.modify_iptc({'Iptc.Application2.Keywords': 'tag1'}) >>> img.read_iptc()['Iptc.Application2.Keywords'] 'tag1'
The current effect:
>>> img.read_iptc()['Iptc.Application2.Keywords'] ['tag1']