Open GoogleCodeExporter opened 9 years ago
I sympathise with the desire to continue processing after observing a violation
of the specification like that in this image. Some points to note:
- Applying the patch from JSOM causes metadata-extractor to produce rubbish
when proccessing some other images such as those from the Olympus Pen. In those
images data which is clearly not valid TIFF is processed and a lot of rubbish
output is produced.
- This particular image may have been manipulated in some software which caused
this error, as another Sony DSC-HX5V image in the sample library processes fine.
Regardless of how the error ended up in this file, it would be nice to have a
good heuristic for knowing when it is safe to continue reading from a file
versus when garbage is being processed.
'exiftool' does a good job of processing the file you've attached. I'd like to
see how they handle such errors.
Original comment by drewnoakes
on 21 Nov 2014 at 9:45
This issue has been migrated along with the project to GitHub:
https://github.com/drewnoakes/metadata-extractor/issues/28
Original comment by drewnoakes
on 21 Nov 2014 at 9:54
Original issue reported on code.google.com by
emmanuel...@gmail.com
on 27 Jun 2014 at 3:17Attachments: