readlong': undefined method unpack' for nil:NilClass (NoMethodError)
EXIFR::TIFF::Data#readlong throws exception for this image file.
This photo was taken by Galaxy S camera in consinuous shooting mode.
backtrace is below.
readlong (and also readshort) try to access data out of range.
In my case, I wrote wrapper method and catched all exception from readlong.
I'm using rails, so I put these code in config/environment.rb.
my envrionment: ruby version 1.8.6, exifr version 1.0.5 (newest)
The text was updated successfully, but these errors were encountered: