I have encountered an unfortunate interaction between ExifTool and PSCS2.
This problem occurs when using ExifTool to copy EXIF from .NEF source images to either .JPG & .TIF target images. It does not seem to happen with .CRW-derived images.
If I convert a .NEF to .JPG using ACR, it is missing the maker notes. I can copy the EXIF data to it successfully using ExifTool and restore the maker notes.
If I now edit it in PSCS2, then it is again missing the maker notes. However if now I try to restore them again, ExifTool with fail with the error message:
"Warning: Entries in IFD0 were out of sequence. Fixed. - xxx.jpg | Error: Truncated SubIFD directory - xxx.jpg | 0 image files updated | 1 files weren't updated due to errors"
As a further test, I reconverted the .NEF to .JPG. Before I copied any EXIF, I edited it in PSCS2. ExifTool was able to successfully copy the EXIF data from the .NEF to the edited .JPG.
However if I again edit the image in PSCS2, and then try and copy the EXIF again using ExifTool, then the second EXIF copy using ExifTool will fail.
So, here is the conclusion. For images derived from a (D200) .NEF, once you've copied the EXIF data from the .NEF to the derived image, then any further editing in PSCS2 will mean that you can't copy the EXIF using ExifTool any more, unless you first using ExifTool to wipe the existing EXIF from the derived image using:
"exiftool -exif:all= xxx.jpg"
It's not clear whether this is a problem with ExifTool, or PSCS2.
If I must wipe the EXIF from the target image first, is there ExifTool syntax which will wipe the EXIF from the target image and then copying EXIF from the source to the target, all in one call to ExifTool?
Regards and thanks for a brilliant script.
Ferdinand
(7)
]
