Comment 4 for bug 959908

Revision history for this message
Hobson Lane (hobs) wrote :

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]

Works just as before