New Pentax LensType value

Started by Archive, May 12, 2010, 08:54:21 AM

Previous topic - Next topic

Archive

[Originally posted by bogdan on 2008-06-07 07:16:02-07]

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....

Archive

[Originally posted by exiftool on 2008-06-08 10:53:16-07]

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

Archive

[Originally posted by yeryry on 2008-06-10 23:24:45-07]

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

Archive

[Originally posted by exiftool on 2008-06-11 10:50:34-07]

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