Here's the patch that actually incorporates undefined_to_human() into exif.py string conversion of Undefined type tags. Warning, this does change the output (for the better).
The output for included test images like smiley1.jpg are unchanged becasue they have no Undefined tags ( MakerNotes ) ...
metadata = pyexiv2.ImageMetadata('test/data/smiley1.jpg')
metadata.read()
for k in metadata.exif_keys():
print metadata[k]
Here's the patch that actually incorporates undefined_ to_human( ) into exif.py string conversion of Undefined type tags. Warning, this does change the output (for the better).
The output for included test images like smiley1.jpg are unchanged becasue they have no Undefined tags ( MakerNotes ) ...
metadata = pyexiv2. ImageMetadata( 'test/data/ smiley1. jpg') exif_keys( ):
metadata.read()
for k in metadata.
print metadata[k]
Works just as before