drewnoakes / metadata-extractor-images

Database of images from various digital cameras
https://drewnoakes.com/code/exif/
103 stars 45 forks source link

Added sample image taken from a Blackberry Z10 mobile phone #17

Closed jibee closed 7 years ago

jibee commented 7 years ago

Hi,

Admitedly Blackberry 10 are legacy photophones... however the interest is that the makernote format in files taken with a Blackberry Z10 triggers an exception in the metadata-extractor library 2.10.1, traced to at com.drew.metadata.exif.ExifTiffHandler.processMakernote(ExifTiffHandler.java:388) when the reader tries to read 12 characters whereas end of file is at 10.

Thanks!

JBM

drewnoakes commented 7 years ago

Thanks very much. Can you make a PR for the out-of-bounds error?

jibee commented 7 years ago

Done. https://github.com/drewnoakes/metadata-extractor/pull/300