negative values of type SByte displayed as positive numbers
|Status:||Closed||Start date:||06 Sep 2015|
|Assignee:||Robin Mills||% Done:|
|Category:||metadata||Estimated time:||2.00 hours|
I have a camera filling the tag Exif.NikonAFT.AFFineTuneAdj. Camera for example shows -9, output of exiv2 is 247.
The only other tag of type SByte I have found is Exif.Pentax.Temperature.
#1 Updated by Robin Mills almost 3 years ago
- Category set to metadata
- Assignee set to Robin Mills
- Priority changed from Low to Normal
- Target version set to 0.26
Thanks for reporting this, Norbert. Can you provide an image file for me to reproduce this. I'd like you to give us permission to reuse the metadata in your file in our test suite.
#2 Updated by Robin Mills almost 3 years ago
I've got the file you provided when we discussed something about this a couple of years ago. http://dev.exiv2.org/boards/3/topics/1337
Here's what I see:
519 rmills@rmillsmbp:~/clanmills $ exiv2 -pv http://dev.exiv2.org/attachments/download/422/Example-Byte-SByte.jpg | grep SByte 0x0002 NikonAFT AFFineTuneAdj SByte 1 254 520 rmills@rmillsmbp:~/clanmills $So, no need for another file. I'll investigate and let you know.
#3 Updated by Robin Mills almost 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Estimated time set to 2.00
Fix submitted. r3929.
562 rmills@rmillsmbp:~ $ exiv2 -pv -g TuneAdj http://dev.exiv2.org/attachments/download/422/Example-Byte-SByte.jpg 0x0002 NikonAFT AFFineTuneAdj SByte 1 -2 563 rmills@rmillsmbp:~ $I've copied your file Example-Byte-SByte.jpg to test/data/exiv2-bug1114.jpg and use it as a regression detector in our test suite.
I've set the status to Resolved/100% and, if nothing else arises, this will be closed prior to shipping v0.26.