Hi Phil,
Following an answer by you in the Archives (https://exiftool.org/forum/index.php/topic,2271.0.html) for copying LensID using composite tags I tried the following:
exiftool -TagsFromFile MSC_091015_0232.NEF -Nikon:lensidnumber -lenfstops -Nikon:minfocallength -Nikon:maxfocallength -Nikon:MaxApertureAtMinFocal -Nikon:MaxApertureAtMaxFocal -MCUVersion -Nikon:LensType -v2 -m MSC_091015_0232.tiff
but the TIF target was not updated:
Setting new values from MSC_091015_0232.NEF
Writing Nikon:LensIDNumber if tag exists
Writing Nikon:LensIDNumber if tag exists
Writing Nikon:LensIDNumber if tag exists
Writing Nikon:MinFocalLength if tag exists
Writing Nikon:MinFocalLength if tag exists
Writing Nikon:MinFocalLength if tag exists
Writing Nikon:MaxFocalLength if tag exists
Writing Nikon:MaxFocalLength if tag exists
Writing Nikon:MaxFocalLength if tag exists
Writing Nikon:MaxApertureAtMinFocal if tag exists
Writing Nikon:MaxApertureAtMinFocal if tag exists
Writing Nikon:MaxApertureAtMinFocal if tag exists
Writing Nikon:MaxApertureAtMaxFocal if tag exists
Writing Nikon:MaxApertureAtMaxFocal if tag exists
Writing Nikon:MaxApertureAtMaxFocal if tag exists
Writing Nikon:MCUVersion if tag exists
Writing Nikon:MCUVersion if tag exists
Writing Nikon:MCUVersion if tag exists
Writing Nikon:LensType if tag exists
======== MSC_091015_0232.tiff
Rewriting MSC_091015_0232.tiff...
Editing tags in: ExifIFD IFD0 MakerNotes TIFF
Creating tags in:
FileType = TIFF
MIMEType = image/tiff
ExifByteOrder = MM
Rewriting IFD0
Rewriting XMP
Rewriting IPTC
[nothing changed]
Rewriting ExifIFD
Rewriting ICC_Profile
Rewriting GPS
Copying 567 image data blocks
Nothing changed in MSC_091015_0232.tiff
0 image files updated
1 image files unchanged
Any ideas?
Thanks,
Mark
Hi Mark,
You will only be able to write these Nikon tags to images which already contain the Nikon maker notes. For other images, I suggest writing the XMP:Lens tag.
- Phil
Phil,
Is it possible to copy the Maker Notes from NEF to TIFF? Using XMP:Lens won't accomplish what I need as only the LensID will be displayed/searchable from within my DAM software - Aperture and Lightroom.
Mark
Sure, you can copy the maker notes from NEF to TIFF:
exiftool -tagsfromfile SRC.nef -make -model -makernotes DST.tif
Note that I also copy the Make and Model tags because these are required to properly recognize the makernotes.
- Phil
Phil,
I've found that after copying the make model and makernotes tags that all the Lens related data is available - no need to copy the tags listed in the Archived post.
Mark