Thread

Posted on Sat Jun 7 10:16:02 2008 by bogdan
New Pentax LensType value
Hi Phil,

One member on Adobe forum reported:

Lens used: Tamron SP AF 17-50mm F/2.8 XR Di II
LensType: 4 230

I've noticed, Pentax (PEF) files have two LensType tags inside Makernotes, having different tag ID numbers (of course): x0000 and x003f (containing equal values).
Now, changing LensType by executing, e.g.:
exiftool -n -Pentax:LensType="3 25" image.PEF
-will change x003f tag only.
It seems that changing only this tag is enough, as Lightroom read this tag to recognize lens. Anyway, is it possible to change both tags at once? -so both tags would have equal values (to avoid confusion when reading metadata).

Greetings,
Bogdan
PS: If changing x0000 tag doesn't make sense, how about renaming it to "LensTypeOriginal" or similar? -it's just an idea....
Direct Responses: 8043 | Write a response
Posted on Sun Jun 8 13:53:16 2008 by exiftool in response to 8037
Re: New Pentax LensType value
Hi Bogdan,

Thanks for the new lens.

Normally both LensType values would be written together to keep the meta information synchronized, but in this case the decoding of the 2nd LensType value is tricky (the value is spread over three bytes instead of two and there are some unknown bits mixed in), and I haven't figured out a way to write it yet. (This is probably why the other utilities don't decode this value.) I will think about this more and see if I can add this ability.

- Phil
Direct Responses: 8053 | Write a response
Posted on Wed Jun 11 02:24:45 2008 by yeryry in response to 8043
Re: New Pentax LensType value
Another new one:
Cosina AF 100-300mm f/5.6-6.7
4 21

This one has values in all the "LC" fields. I will investigate these further.

yeryry
Direct Responses: 8054 | Write a response
Posted on Wed Jun 11 13:50:34 2008 by exiftool in response to 8053
Re: New Pentax LensType value
Thanks! I have a good idea what most of the LC (Lens Codes) mean, but many have not been fully decoded yet. Look at the comments in Pentax.pm for hints as to the meanings.

- Phil
Write a response