Skip Menu |

This queue is for tickets about the Image-Info CPAN distribution.

Report information
The Basics
Id: 5165
Status: resolved
Worked: 35 min
Priority: 0/
Queue: Image-Info

People
Owner: TELS [...] cpan.org
Requestors: geoffr [...] gbdirect.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.16
Fixed in: 1.17



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.
Download 1332.jpg
image/jpeg 50.6k
1332.jpg
The upcoming release 1.17 no longer dies, but it produces some garbled info (heh, it's an invalid file, after all :) If that doesn't solve your issue, please reply. Best wishes, Tels
I close this bug now. If you still have issues, please re-open it by responding via email, or file a new bug report. Thanx for your report! Tels