Hello, I've got a bit of a problem.
I am posting this both to the Exiftool forum and to Nikon support.
The problem seems to be that after I have used exiftool to update a few fields, and then
use NikonviewNX to input a title (this normally updates the IPTC Object name and the XMP
title), NikonViewNX destroys the jpeg. This is a very intermittent problem, it never
happened before yesterday but affected about three photos in an album of about 100.
The final exif data appears to consist of:
ExifTool Version Number : 8.27
File Name : dsc_6725_afternikonview.jpg
Directory : .
File Size : 5.3 MB
File Modification Date/Time : 2010:08:05 17:13:55+01:00
File Permissions : rw-r--r--
File Type : JPEG
MIME Type : image/jpeg
Exif Byte Order : Little-endian (Intel, II)
Warning : Bad IFD0 offset for Make
Orientation : Horizontal (normal)
Resolution Unit : inches
Y Cb Cr Positioning : Centered
First a question. Do either of you share anything with the Gimp as I installed a new
version of that? This is an a Mac running Snow Leopard 10.6.4.
This is the process I use. Each of the following files are about 5MB each in size and the
server is slow if you want to download them.
Start with a raw file:
http://clifford.ac/~alan/nikonviewproblem/dsc_6725.nefUse Nikonviewnx to generate a jpeg
http://clifford.ac/~alan/nikonviewproblem/dsc_6725.jpgUse exiftool to add various fields (see below for additional information)
http://clifford.ac/~alan/nikonviewproblem/dsc_6725_afterexiftool.jpgI can view that in nikonviewnx without any problem but when I add a title and click
"apply", all the information disappears from the meta data box, and the photograph
disappears and is replaced by the words "Unsupported file type".
http://clifford.ac/~alan/nikonviewproblem/dsc_6725_afternikonview.jpgFor comparison, the result of the above process normally results in a file such as this
http://clifford.ac/~alan/nikonviewproblem/usuallyok.jpg------------------
Additional information
exiftool is used in a script to add the following fields:
exiftool -m -P -gpslatitude=${gpslatitude} -gpslatituderef=${gpslatituderef} \
-gpslongitude=${gpslongitude} -gpslongituderef=${gpslongituderef} \
-gpsaltitude=${gpsaltitude} -gpsaltituderef=${gpsaltituderef} \
-gpsdatestamp=${gpsdatestamp} \
-gpstimestamp=${gpstimestamp} \
-overwrite_original \
"${photofiles[$ctr2]}" >&2
exiftool -m -P -artist="${ARTIST}" \
-creator="${ARTIST}" \
-by-line="${ARTIST}" \
-creatorworkemail="${EMAIL}" \
-creatorworkurl="${WWW}" \
-usageterms="${USAGETERMS}" \
-copyright="${COPYRIGHT}${copyrightdate}" \
-copyrightnotice="${COPYRIGHT}${copyrightdate}" \
-rights="${COPYRIGHT}${copyrightdate}" \
-overwrite_original \
"${photofiles[$ctr2]}" >&2
Alan Clifford