Comment 1 for bug 147534

Revision history for this message
Olivier Tilloy (osomon) wrote :

In fact, the interpreted data value as displayed by exiv2 is already accessible from pyexiv2, although quite hidden: the method _Image__getExifTagToString(key) returns this interpreted value as shown in the example below:

>>> image=pyexiv2.Image('xmptest.jpg')
>>> image.readMetadata()
>>> key = 'Exif.Image.Orientation'
>>> print key, ":", image[key], "/", image._Image__getExifTagToString(key)

    Exif.Image.Orientation : 2 / top, right

This method needs to be made more accessible, this bug will track the implementation of this functionality.