Corrupt EXIF info crashes identify

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.
Post Reply
martinw17
Posts: 39
Joined: 2006-09-07T02:10:27-07:00
Location: Brighton, UK

Corrupt EXIF info crashes identify

Post by martinw17 »

I have an image (http://www.bright-interactive.com/downloads/test.jpg) which crashes identify, i.e. when using:
identify -verbose test.jpg

I'm guessing that it's a problem with the EXIF data as the same occurs with:
identify -format "%[EXIF:*]" test.jpg

I am using Windows XP, IM 6.2.9 Q16 (I get the same on 6.2.8 Q16).

Thanks,
Martin
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We can reproduce the problem you posted and will have a fix in the next point release of ImageMagick within a week or two. Thanks.
martinw17
Posts: 39
Joined: 2006-09-07T02:10:27-07:00
Location: Brighton, UK

Post by martinw17 »

I have installed ImageMagick 6.3.0 and identify no longer crashes - thanks for the fix.

However, I've found another (perhaps related) problem. I have an image (http://www.bright-interactive.com/downl ... byline.jpg) that contains data for the IPTC field 'Byline' (2.080).
The following command works fine, and outputs the value of that field:
identify -format %[IPTC:2:080] iptc_byline.jpg

If, however, I try to get the value of the 'Data set record version' (2.000) as well (which happens to be empty in this image) as follows:
identify -format %[IPTC:2:000]--%[IPTC:2:080] iptc_byline.jpg

then no output is returned.

I have tried this for various images, and it consistently fails if %[IPTC:2:000] is included. It works fine if I include any (or all!) of the other IPTC fields.

Thanks,
Martin
Post Reply