Subject: | Dies when reading an invalid Photoshop 7 image |
I have a JPEG which was created in Adobe Photoshop 7.0 and which causes Image::Info::JPEG to fail. Most programs read the image fine, but according to exifdump it is actually invalid.
The failure happens at lib/Image/Info/JPEG.pm line 260. Since this is an invalid image it's not strictly a bug, but it would be useful if this could be worked around.
An additional problem is that the 'die' at that line doesn't have a message. If you still think it should die, it would be better if it described the problem and included words like "invalid EXIF headers".
Tested with version 1.16.
I will try to attach the image.