That's weird. I was trying to add a new item DateDigitized rather than modify an existing one.
I have "Create Metadata if needed enabled" ticked - I think this is critical.
First, check that your test image still has the bad IFD0 contents:
The exiftool listing inside XnViewMP should show:
EXIF: Strip Offsets 5026
Curiously, when I select the
EXIF tab on the same file, it shows
Strip Offsets 4996
I think this difference is simply an artifact of the fact that the value is invalid anyway. 4996 is the actual value stored, and 5026 is that number added to the jpeg header byte count.
exiftool 10.04
When run manually, exiftool gives:
Code: Select all
$ exiftool '-Exif:DateTimeOriginal=1983:03:19 15:00:00' example-bad-ifd0.jpg
Error: Error reading StripOffsets data in IFD1 - example-bad-ifd0-2.jpg
0 image files updated
1 files weren't updated due to errors
It refers to an error in IFD1, but I think that is because IFD0:StripOffsets points into the middle of the IFD1:Thumbnail area.
XnViewMP x64 0.76.1 (Oct 23 2015), Win 7
- "Create Metadata if needed enabled" is ticked
- assign the Exif:CreateDate (DateDigitized) results in nothing happening.
- alter the Exif:ModifyDate results in nothing happening.
- Untick Create metadata if needed and then alter the Exif:ModifyDate results in: date changed!
XnViewMP 32-bit 0.76.1 (Oct 23 2015), Win 7
I have a separate installation on the same machine, with separate ini files, DB etc.
The result is the same as for 64-bit.
Xnview 2.33
I have tried the operation on the test file with this version of classic.
The DateDigitized value is greyed out, but ticked. When I assign a new value the
Exif:Date Taken then it changes the date, but returns with the image file highlighted in bright red.