Actually, I just ran exiftool on a prestine DNG file.
( exiftool -a -u -g1  FILENAME )

It shows:

under section 
---- Pentax ----
Lens Type                       : PENTAX-F 28-80mm F3.5-4.5 or Sigma or Tokina L
ens
(actually twice in the same section)

But then, at the bottom, under section
---- Composite ----
It has:
Lens ID                         : Tokina AT-X PRO 28-70mm F2.6-2.8

Looking into the code of exiftool
( file site_perl/5.8.9/Image/ExifTool/TagNames.pod as noted:
<Image::ExifTool::TagNames/Pentax Tags> ), I found that
"Composite" tags is something that exiftools calculates based on the
decoded tags. I didn't look deeper into the code, but I suspect that
exiftool may go a step further to distinguish which of the 3 lenses it
is. This would be done probably on such information in EXIF MakerNotes
as "AE Max Aperture", "Min Aperture", "Lens F Stops", "Nominal Max
Aperture", "Nominal Min Aperture", etc. - These are different for
the 3 lenses.

I guess, LR is just not as smart as exiftool is.
(I just submitted what I think is a feature request on
feedback.photoshop.com.)


Igor



> Date: Thu, 5 Jan 2012 13:21:23 -0500 (EST)
> From: Igor Roshchin 
>
>
> Thank Jostein,
>
> I'll try it, - maybe it will work.
> My feeling is that the actual code conversion is built in into LR,
> and it doesn't consult the .lcp file for that, but only uses
> the .lcp file to match the lens and apply adjustments for it.
>
> The list of the lenses is definitely helpful.
> Here is where the "collision" occurs for me:
>
> '3 29'        = PENTAX-F 28-80mm F3.5-4.5 or Sigma or Tokina Lens
> '3 29.1'      = Sigma AF 18-125mm F3.5-5.6 DC
> '3 29.2'      = Tokina AT-X PRO 28-70mm F2.6-2.8
>
> It is weird that there are two (!) values corresponding
> to the same lenses:
> '3 27'        = smc PENTAX-F 28-80mm F3.5-4.5 or Tokina Lens
> '3 27.1'      = Tokina AT-X Pro AF 28-70mm F2.6-2.8
>
> I wonder if the decimal values are actually in the Exif.
> (I don't know if exiftool actually parses "Makernotes" part of
> the EXIF, and also whether it can work on DNG files.)
>
> As for exiftools solutiona as describe on the Leica forum, - 
> I suspect it is only applicable for the JPEGs, and not for
> the RAW files: the fields that are being replaced are not in the 
> Makernotes, but in the EXIF parts generated by the converter (LR).
>
>
> Thank you, Jostein for the your interesting thoughts and insightful
> information.
>
> Igor
>
>
>
> Tue Jan 3 03:54:54 EST 2012
> AlunFoto wrote:
>
> The lens name is not spelled out in letters inside the image file.
> It is represented by a numerical code residing in the MakerNotes part
> of the EXIF.
> There is a list of codes mapped to names at Phil Harvey's webpages
> (ExifTools):
> http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Pentax.html#LensType
>
> My hope was that Lightroom could be coaxed to map a code to a different 
> name by providing a lens profile mapping the number to a Tokina name. I 
> imagined you wouldn't have to rename the file or create a separate Tokina 
> folder for it as long as it maps to the name you want for it.
>
> The problem of overlapping codes is not unique to Pentax/Tokina, btw.
> Here's one thread that indicates an issue with Canon/Tamron:
> http://www.canonrumors.com/forum/index.php?topic=649.15
>
> It could be that your best solution is to use ExifTools directly. Some way 
> down this page there is a recipe for changing lens names for Leica files. 
> Should work for Pentax too, I think. 
> http://www.l-camera-forum.com/leica-forum/digital-post-processing-forum/135236-changing-lens-info-exif.html
>
> Hope it can be of some help.
> Jostein
>

-- 
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to