Exporting/Copying Lens Profile/Info from CR2 to TIFF file

Started by astronick, May 11, 2022, 12:40:19 AM

Previous topic - Next topic

astronick

Hi,

I would like to know if there is a way to export/copy Lens Profile (Lens information) from the CR2 file to TIFF file?

I created a Lens config in the jEXIFtool and tried saving it to the TIFF file but it gave me this error:

Warning: Sorry, composite:LensID doesn't exist or isn't writable
Warning: Can't convert value for Sony:LensFirmwareVersion (no PrintConvInv)
    1 image files updated

The Lens is Sigma 17-50mm f/2.8 EX DC OS HSM and the Camera is Canon 1100D so not sure where it's pulling 'Sony' from.

Please advise the right command or how can I achieve this using the GUI tool, if this is possible at all.

Thank you in advance!

StarGeek

It's hard to say what the problem is without knowing what data you are trying to copy.  What is the contents of your "Lens Profile"?  What is it actually trying to copy?

I'm not sure what is happening with LensID.  That tag is both a Composite tag and a XMP-aux tag.  The former is not a writable tag and the latter is a deprecated tag which is no longer in common use (see the XMP-aux link above).

As for where Sony is coming from, somewhere in your command I'm guessing that you're trying to copy LensFirmwareVersion, which is a proprietary MakerNotes tag.  It cannot be created individually, as MakerNotes can only be copied as a block.  So somewhere in the command it is attempting to create that tag and Sony is just the last in the list of attempts.

Yeah, adding -v3 (-verbose3) option on the command line shows exiftool trying to write to several LensFirmwareVersion tags, none of which it can do because there aren't any MakerNotes in your target file.
Writing Olympus:LensFirmwareVersion if tag exists
Not enough values specified (4 required) for Panasonic:LensFirmwareVersion
Can't convert value for Sony:LensFirmwareVersion (no PrintConvInv)
Can't convert value for Sony:LensFirmwareVersion (no PrintConvInv)
Warning: Can't convert value for Sony:LensFirmwareVersion (no PrintConvInv)


I installed jExiftoolGUI to get a better idea of what you were looking at with the lens profile.  My suggestion is rather than fill out all the data, take a look at your images and just use the data that is already in the file as a template.  For example, if LensID/LensFirmwareVersion isn't in your source image, don't add them to your lens profile.  This would be FAQ #3 on the command line.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

astronick

Thank you for such a detailed analysis!

I will try to take the screenshot of what I was trying to do and share it here, if that would help.

I tried to copy the Lens data (Lens Configuration) data from the CR2 file to the TIFF file. I did copy the Lens Firmware Version from what I could recall so may be I should just skip it (though it was present in the CR2 file)?

The whole purpose of me doing this is to populate Lens Profile in LR for the TIFF images. With TIFF images, I notice that only limited Lens/Lens Profiles are available and mine is not in the list.

Hope that gives you some context.