Skip to content

Is there a way to add custom Exif tag via Exiv2? #2651

Answered by postscript-dev
tangxun1688 asked this question in Q&A
Discussion options

You must be logged in to vote

@tangxun1688
Although Exiv2 contains some XMP tags, the standard is based on XML and any unknown tags are automatically added. This flexibility allows you to easily create your own custom definitions.

Exif on the other hand uses a fixed list of pre-defined tags. I wouldn't advise adding your own general Exif tags as the IDs are limited and a future Exif spec may reuse your ID. In the Exif specification there is a 'makernotes' section for camera/scanner manufacturers to add custom tags. It would be possible to add your own 'makernotes' but in reality, this is impractical as it is a lot of work. Also, every time Exiv2 releases a new version, you would need to re-add your own definitions to …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tangxun1688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants