pypi pyexiv2 2.5.0
v2.5.0

latest releases: 2.16.1, 2.16.0, 2.15.5...
5 years ago
  • Automatically convert some EXIF tags from UCS2 encoding to UTF-8 encoding.

    Details

    Affected Tags

    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

    Affected Tags

    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']

Don't miss a new pyexiv2 release

NewReleases is sending notifications on new releases.