Image-ExifTool - Nikon NEF file DateTimeOriginal Write Error

Posted on Tue Jul 8 14:32:21 2008 by justin
Nikon NEF file DateTimeOriginal Write Error
I have been performing some tests on NEF files from my Nikon D50 and D200 cameras. I am trying to set the -EXIF:datetimeoriginal tag. I have noticed that once I have written to the tag, I can then not re-write to it again, I get the error "Error: Bad format (0) for SubIFD entry 0". If I restore the file from it's backup nef_original file I can perform the operation again with the same result. Please find example below:
C:\nefs>exiftool -EXIF:datetimeoriginal c:\nefs\DSC_0504.nef Date/Time Original : 2008:06:12 11:09:13 C:\nefs>exiftool -EXIF:datetimeoriginal="2004:05:18 19:17:22" c:\nefs\DSC_0504.nef 1 image files updated C:\nefs>exiftool -EXIF:datetimeoriginal c:\nefs\DSC_0504.nef Date/Time Original : 2004:05:18 19:17:22 C:\nefs>exiftool -EXIF:datetimeoriginal="2005:12:38 11:57:22" c:\nefs\DSC_0504.nef Error: Bad format (0) for SubIFD entry 0 - c:\nefs\DSC_0504.nef 0 image files updated 1 files weren't updated due to errors
I'm using Exiftool v7.35 command line. Is it a one shot deal to write to this tag and is there any chance the resultant .nef file contains corruption as it can not be re-written to?
Direct Responses: 8239 | Write a response