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.
In fact, the interpreted data value as displayed by exiv2 is already accessible from pyexiv2, although quite hidden: the method _Image_ _getExifTagToSt ring(key) returns this interpreted value as shown in the example below:
>>> image=pyexiv2. Image(' xmptest. jpg') ata() Orientation' Image__ getExifTagToStr ing(key)
>>> image.readMetad
>>> key = 'Exif.Image.
>>> print key, ":", image[key], "/", image._
Exif. Image.Orientati on : 2 / top, right
This method needs to be made more accessible, this bug will track the implementation of this functionality.