[Originally posted by msbc on 2008-10-30 20:58:00-07]
Phil,
In the Tags documentation under Composite Tags there is a note for the LensID tag that reads:
May be configured by adding user-defined lenses
Can you explain how this can be done? I'd like to add my manual focus lenses - Contax and Leica - that I use on my 5D.
[Originally posted by exiftool on 2008-10-30 21:42:20-07]
Currently the option is rather limited, and is used only to
select the correct lens from the list of known alternatives when
there is more than one possible lens for a given LensType
value. ie) If there is an "or" in the lenstype value.
What
does the LensType tag show for these lenses? If you have
any lenses that give "Unknown(##)" values (where ## is anything
but 0 or -1), then I should add these to the distribution.
- Phil
[Originally posted by exiftool on 2008-10-30 21:45:09-07]Oh. I forgot to answer your question about how it is
done. An example is given in the
config
file documentation at the bottom of the page.
[Originally posted by msbc on 2008-10-31 03:58:50-07]
Phil,
On a related note - I've tried to change the LensType value in a Canon 5D CR2. The Tags documentation show this tag should be writable but my image file is not updated when I attempt to change this value?
Thanks,
Mark
[Originally posted by exiftool on 2008-10-31 11:31:21-07]
Hi Mark,
Thanks for pointing out this problem. It turns out that you couldn't
write any tag in the CanonCameraInfo5D structure.
This will be fixed in the next release.
- Phil
[Originally posted by msbc on 2008-11-06 03:23:47-08]
Phil,
I just tried the new 7.52 version but am still seeing the same problem.
Mark
[Originally posted by exiftool on 2008-11-06 11:41:21-08]Could you please paste a console log showing your
exact problem. This works for me:
> exiftool -ver
7.52
> exiftool CanonEOS5D.jpg -lenstype
Lens Type : Canon EF 24-70mm f/2.8L
> exiftool CanonEOS5D.jpg -lenstype='Canon EF 28-80mm f/2.8-4L or Sigma Lens'
1 image files updated
> exiftool CanonEOS5D.jpg -lenstype
Lens Type : Canon EF 28-80mm f/2.8-4L or Sigma Lens
- Phil
[Originally posted by msbc on 2008-11-06 12:24:17-08]Phil,
Just to clarify:
1. I'm testing against a 5D CR2, not JPG
2. According to your
Tags documentation LensType (Index 22) is int16s - so I am entering the following command:
exiftool -s -LensType=5 _MG_1126.CR2
[Originally posted by exiftool on 2008-11-06 12:33:59-08]Ah, OK. This is
FAQ
number 6.
It should work for JPEG or CR2.
- Phil
[Originally posted by exiftool on 2008-11-06 12:39:47-08]
Also, you can save a bit of typing: The
-s option has no effect when writing.
- Phil