Wrong exif:ISOSpeedRatings value

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.

Wrong exif:ISOSpeedRatings value

Postby brooksrbrown » 2013-08-14T14:18:34+00:00

I am getting the wrong exif value for ISOSpeedRatings for a particular test file. I've looked over the file in a binary editor, and the structure of the IFD seems correct. Other software reports the correct value, 138, but ImageMagick reports 1 when I use identify -verbose.

I haven't seen any incorrect values for ISOSpeedRatings for other files. Hopefully, you can download the sample file from https://www.dropbox.com/s/7nqbihosjr3hfw3/P1290018.TIF.

I am running on Mac OS 10.7, and downloaded ImageMagick from MacPorts.

I've looked at the 6.8.6-7 source code, properties.c, and can't spot the problem.

Best regards,
Brooks Brown
brooksrbrown
 
Posts: 1
Joined: 2013-08-14T14:08:32+00:00

Re: Wrong exif:ISOSpeedRatings value

Postby fmw42 » 2013-08-14T14:34:47+00:00

I can confirm on IM 6.8.6.8 Q16 Mac OSX that the verbose info reports 1 for ISOSpeedRatings

Also using string formats returns 1 as below

convert P1290018.TIF -format "%[EXIF:ISOSpeedRatings]" info:
1



Using EXIFTOOL, it reports

34855 ISO : 138


So IM is likely looking for the wrong EXIF name or the wrong EXIF tag number
User avatar
fmw42
 
Posts: 14806
Joined: 2007-07-02T17:14:51+00:00
Location: Sunnyvale, California, USA

Re: Wrong exif:ISOSpeedRatings value

Postby magick » 2013-08-14T17:34:24+00:00

Thanks to Dirk we now know that the ISO attribute is a short array rather than a single short value. We'll have a patch to fix this problem within a few days.
User avatar
magick
Site Admin
 
Posts: 9657
Joined: 2003-05-31T11:32:55+00:00


Return to Bugs

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests