How do I write a composite tag?

Started by jaap.verhage, November 07, 2013, 04:56:44 PM

Previous topic - Next topic

jaap.verhage

Hello everybody,

in the list "Canon tags" at http://www.exiftool.org/TagNames/Canon.html#LensType , mention is made in the part "Canon LensType Values" of "composite tags", like some LensID tags. They take the form of, for example, "45.1". My question is: how do I write such a composite tag into a Canon RAW image file? Just executing exiftool.exe LensID=45.1 image.cr2 in a Windows CMD window won't work.

Thanks for your help.

Regards, Jaap.

Phil Harvey

Hi Jaap,

Quote from: jaap.verhage on November 07, 2013, 04:56:44 PM
how do I write such a composite tag into a Canon RAW image file?

This question is answered by the 3rd sentence in the Composite tags documentation.  However, the LensID tag is particularly complex because there are various versions derived from different tags depending on the camera make.  And there are lots of tags involved.  So changing the LensID may take some work.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

jaap.verhage

Quote from: Phil Harvey on November 07, 2013, 06:49:11 PM
Hi Jaap,

Quote from: jaap.verhage on November 07, 2013, 04:56:44 PM
how do I write such a composite tag into a Canon RAW image file?

This question is answered by the 3rd sentence in the Composite tags documentation.  However, the LensID tag is particularly complex because there are various versions derived from different tags depending on the camera make.  And there are lots of tags involved.  So changing the LensID may take some work.

- Phil

Oh dear, I was afraid of this... sorry for taking up your time, but thanks for answering so promptly. I'll look into the documentation and come back to you if I'm too stupid to understand it  :o .

Regards, Jaap.