Exiv2 / exiv2

Image metadata library and tools
http://www.exiv2.org/
Other
932 stars 281 forks source link

exiv2 prints file type for RW2 files if you only request the ISO #573

Closed cryptomilk closed 5 years ago

cryptomilk commented 5 years ago

Hi,

exiv2 -g Exif.Photo.ISOSpeedRatings -Pt /home/asn/Documents/Download/noise_profiles/Panasonic_G3/P1300439.RW2
RW2 IMAGE
160

I've just asked to get the ISO value but in addition it prints the string RW2 IMAGE and it seems to do that only for that RAW format.

It doesn't happen for e.g. ARW:

exiv2 -g Exif.Photo.ISOSpeedRatings -Pt /home/asn/Pictures/2018/2018-07_Island/2018-07_RAW_Island/2018-07-10__7M32947.ARW
200
clanmills commented 5 years ago

Thanks, Andreas. I'll investigate. Can you attach the test file please?

cryptomilk commented 5 years ago

You can find the files currently here: https://mega.nz/#F!BGRkSKwR!yN_5JpTU3xTwfuTN7YknPA

clanmills commented 5 years ago

Thanks. I'm wondering if Luis fixed this earlier this week: https://github.com/Exiv2/exiv2/issues/561

You can download builds from: http://exiv2.dyndns.org:8080/userContent/builds/Platform/

I can't reproduce:

923 rmills@rmillsmm:~/Downloads $ exiv2 -pa --key Exif.Photo.ISOSpeedRatings *.RW2
P1300439.RW2          Exif.Photo.ISOSpeedRatings                   Short       1  160
P1480907.RW2          Exif.Photo.ISOSpeedRatings                   Short       1  3200
924 rmills@rmillsmm:~/Downloads $ 

This doesn't happen in our test files! http://exiv2.dyndns.org:8080/userContent/testfiles/raw/panasonic/

919 rmills@rmillsmm:~/Jenkins/testfiles/raw/panasonic $ exiv2 -pa --key Exif.Photo.ISOSpeedRatings *.RW2
RAW_PANASONIC_DMC-G3.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  160
RAW_PANASONIC_DMC-GF1.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  100
RAW_PANASONIC_DMC-GH4.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  200
RAW_PANASONIC_DMC-LX5.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  80
RAW_PANASONIC_DMC_FZ1000.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  2000
RAW_PANASONIC_DMC_FZ150.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  100
RAW_PANASONIC_DMC_FZ38.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  80
RAW_PANASONIC_DMC_FZ70.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  3200
RAW_PANASONIC_DMC_FZ72.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  200
RAW_PANASONIC_DMC_LF1.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  80
RAW_PANASONIC_DMC_LX3.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  100
RAW_PANASONIC_DMC_LX7.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  400
RAW_PANASONIC_DMC_TZ60.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  400
RAW_PANASONIC_DMX_GX1.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  160
RAW_PANASONIC_GH2.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  160
RAW_PANASONIC_LUMIX_DMC-LX7.RW2  Exif.Photo.ISOSpeedRatings                   Short       1  100
920 rmills@rmillsmm:~/Jenkins/testfiles/raw/panasonic $ 
cryptomilk commented 5 years ago

Yes, I can confirm this is fixed! Thanks.

clanmills commented 5 years ago

Wonderful!