Skip to content

Exiv2 fails to read metadata on images with duplicate tags #9

@Aerilius

Description

@Aerilius

Some photos that have correct GPano tags do not trigger the panorama viewer.
This is because exiv2 fails to read any metadata if only some tags are inconsistent or duplicate. It seems duplicate tags are however common.

$ exiv2 -px example_duplicate_tags.jpg 
Error: XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
example_duplicate_tags.jpg: (No XMP data found in the file)

example_duplicate_tags.jpg.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions