Skip to content

Reading plain (untranslated) tag values using API #3019

Answered by clanmills
sarunasb asked this question in Q&A
Discussion options

You must be logged in to vote

Translated simply means "suitable for humans". You can see the value and translated value with the exiv2 command options -Pv and -Pt.

618 rmills@rmillsm1:~/gnu/github/exiv2/0.27-maintenance/src $ exiv2 -K Exif.Image.Orientation ~/Stonehenge.jpg 
Exif.Image.Orientation                       Short       1  top, left
619 rmills@rmillsm1:~/gnu/github/exiv2/0.27-maintenance/src $ exiv2 -Pv -K Exif.Image.Orientation ~/Stonehenge.jpg 
1
620 rmills@rmillsm1:~/gnu/github/exiv2/0.27-maintenance/src $ exiv2 -Pt -K Exif.Image.Orientation ~/Stonehenge.jpg 
top, left
621 rmills@rmillsm1:~/gnu/github/exiv2/0.27-maintenance/src $ 

That output is generated by the code in Print::printMetadatum() in sample…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sarunasb
Comment options

You must be logged in to vote
0 replies
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