Try exiv2 -pa --grep lens/i with your image file Then you should see the custom defined LensType value
> Am 07.02.2022 um 19:06 schrieb Ludger Bolmerg <[email protected]>: > > >> >> >>> On 2/7/22 18:37, Remco Viëtor wrote: >>> As you are using a third-party lens, the information available to lensfun >>> might cover several lenses. As your lens is in the database, you can use the >>> drop-down menu in the lens correction module to manually select the lens, or >>> create a .exiv2 file in your home directory linking the lens ID to the lens >>> (look on the web for details on how to do that) >>> >> For some strange reason I don't see the lens in the drop-down menu. >> So will have to figure out how .exiv2 file option works > > I am still struggling. > This is my .exiv2 file: > > [tokina] > 139=Tokina AF 11-20mm f/2.8 AT-X Pro DX > > and here is what I get from exiv2 and exiftool > > % exiv2 -pt DSC_4593.NEF | grep Lens > Exif.Nikon3.LensType Byte 1 D G > Exif.Nikon3.Lens Rational 4 11-20mm F2.8 > Exif.Nikon3.LensFStops Undefined 4 6 > Exif.NikonLd3.LensIDNumber Byte 1 139 > Exif.NikonLd3.LensFStops Byte 1 F6.0 > > % exiftool DSC_4593.NEF | grep Lens > Lens Type : G > Lens : 11-20mm f/2.8 > Lens Data Version : 0204 > Lens ID Number : 139 > Lens F Stops : 6.00 > Lens ID : Unknown (8B 48 1C 30 24 24 85 06) > Lens Spec : 11-20mm f/2.8 G > > Can somebody confirm if the entry in .exiv2 is correct? > > ____________________________________________________________________________ > darktable user mailing list > to unsubscribe send a mail to [email protected] > ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
