On 23.11.2013 18:08, Torsten Bronger wrote:
Hi!
>> [...]
>>
>> exiftool readings are:
>>
>> $ exiftool R20131123-1542.NEF | grep Lens
>> Lens Type : G VR
>> Lens : 24-70mm f/2.8
>> Lens Data Version : 0204
>> Lens ID Number : 254
>> Lens F Stops : 6.00
>> Lens ID : Tamron SP 24-70mm f/2.8 Di VC USD
>> Lens : 24-70mm f/2.8 G VR
>>
>> So obviously the 254 is fine but does not match to the
>> proper lens in dt.
>
> No, the 254 is not fine. exiv2 + DT should yield "Tamron SP 24-70mm
> f/2.8 Di VC USD".
That sounds plausible. However I thought that the 254 is
used somewhere for some sort of mapping. (I think this is
vague enough to express my understanding of the issue ;)
> I haven't yet understood DT's particular use of
> exiv2, so I cannot tell whether it is a bug in exiv2 or in DT.
> Probably exiv2. What does
>
> exiv2 -pt R20131123-1542.NEF | grep -i lens
>
> yield?
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 24-70mm F2.8
Exif.Nikon3.LensFStops Undefined 4 6
Exif.NikonLd3.LensIDNumber Byte 1 254
Exif.NikonLd3.LensFStops Byte 1 F6.0
Sounds like we're missing out here entirely.
Taking another lense I get readings like
$ exiv2 -pt R20131106-1452.NEF | grep -i lens
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 70-200mm F2.8
Exif.Nikon3.LensFStops Undefined 4 6
Exif.NikonLd3.LensIDNumber Byte 1 Nikon AF-S VR Zoom-Nikkor
70-200mm f/2.8G IF-ED
Exif.NikonLd3.LensFStops Byte 1 F6.0
where indeed the ID matches to a string familiar to lensfun
and dt is happy. (Wondering if the firmware does some funny
stuff here? Somewhere this Id needs to be matched, right?)
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
|
| Theory : G. Orwell, "1984"
/ In practice: USA, since 2001
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users