Project

General

Profile

Error unknown Exif

Added by Adonai Canez almost 11 years ago

Hi,

I am getting this error when I open a picture. What Error would that be?

Error: Directory NikonPreview: Next pointer is out of bounds; ignored.
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 514; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00020002; truncating the entry
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 83; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00030005; truncating the entry
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 2192; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00020002; truncating the entry
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 87; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00030005; truncating the entry
Error: Directory NikonPreview: Next pointer is out of bounds; ignored.
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 514; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00020002; truncating the entry
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 83; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00030005; truncating the entry
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 2192; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00020002; truncating the entry
Warning: Directory NikonPreview, entry 0x0000 has unknown Exif (TIFF) type 87; setting type size 1.
Error: Offset of directory NikonPreview, entry 0x0000 is out of bounds: Offset = 0x00030005; truncating the entry

DSCN5985.JPG (1.5 MB) DSCN5985.JPG Photo

Replies (3)

RE: Error unknown Exif - Added by Robin Mills almost 11 years ago

I think your JPGs exif data has been corrupted. I see the tag:
Exif.Image.Software Ascii 10 E5600v1.0

and I think that software has modified the exif data and damaged it a little in the process.

I ran your file through exiftool --htmlDump and he also produced the warning:
Warning: Unknown format (514) for PreviewIFD tag 0x0 - DSCN5985.JPG
(download from http://www.sno.phy.queensu.ca/~phil/exiftool/)

Here's the output from exiftool: http://clanmills.com/files/DSCN5985.html and you can see he has marked many of the tags as "ODD". So my suspicion is that E5600v1.0 is the culprit.

RE: Error unknown Exif - Added by Andreas Huggel almost 11 years ago

I am getting this error when I open a picture. What Error would that be?

These warnings and errors say that the structure of the Exif data contains errors. You can still read whatever Exiv2 manages to extract from the metadata but take the output with a grain of salt; it may be corrupted and not what the camera originally wrote anymore.

If you update such a structure, Exiv2 may introduce further changes to the Exif data for modifications it made to work around the detected structural issues.

If you don't care about these messages, you can turn them off with the -q option of the exiv2 command line tool (requires version 0.21).

RE: Error unknown Exif - Added by Robin Mills almost 11 years ago

Andreas: Please don't spend time on this. I downloaded the free "Express" edition of DevStudio 2010 yesterday and built the libraries. I updated exiv2\msvc64\ReadMe.txt approporiately. Of course these notes are in SVN and not (yet) in the download.

Fulvio: Are you happy?

    (1-3/3)