[Digikam-users] Re: lens-recognition

Michael Eschweiler michael.eschweiler at web.de
Mon Jan 17 20:32:51 GMT 2011


Hi Gilles,
Thanks for the information.
> Use Exiv2 command line program and look which lens is reported (as
> Exiftool).

Ok - I tried exiv2  - and it gives back the information which are in digikam.

> Anyway, as i can see, there are more than one lens assigned for the same
> ID. 
Where did you see this? exiv2 for example gives back
Exif.CanonCs.LensType                        Short       1  Canon EF 20-35mm 
f/3.5-4.5 USM
Exif.CanonCs.Lens                            Short       3  12.0 - 24.0 mm
This means wrong lens with LensType but correct focal length, but I couldn't 
see more than one lens...

Now, after controlling once more the data in digikam I found something 
interesting: With older fotos in the properties part I find
lens: 12 - 24mm
in the meta data part digikam tells me
lens: 12 - 24mm
lenstype: Canon EF 20 - 35mm f/3.5-4.5 USM

the properties of newer fotos says
lens : Canon EF 20 - 35mm f/3.5-4.5 USM

whereas the meta data remain the same as in older fotos
lens: 12 - 24mm
lenstype: Canon EF 20 - 35mm f/3.5-4.5 USM

Could it be that the importing routine of digikam slightly changed so that  
for the lens in properties digikam now uses the exif-value 'lenstype'  instead 
of the the exif-value 'lens'?

Michael


> 
> 2011/1/16 Michael Eschweiler <michael.eschweiler at web.de>
> 
> > Am Sonntag, 16. Januar 2011, 16:09:29 schrieb Michael Eschweiler:
> > > Hi,
> > > I've been using digikam since three years ago and with every version
> > > it's improving - fantastic! As I am not a professional I don't use
> > > digikam
> > 
> > every
> > 
> > > day. Therefore it's a little bit difficult to date the following
> > > problem: More or less since about two months ago digikam doesn't
> > > (import and) expose the correct lens data.
> > > With my EOS 40D I am using a Tokina zoom (f4, 12-24mm), a Tamron zoom
> > > (f2.8, 17 - 50mm), and a Tamron zoom (f4-5.6, 28 - 300 mm).
> > > With my older pictures I (still) find the lens type correctly displayed
> > 
> > in
> > 
> > > the exif data. This means the Tokina is identified as "12-24mm", the
> > > smaller Tamron zoom as "17-50mm" and the telezoom as "28-300mm".
> > > With the fotos I imported within the last two month I found that only
> > > the telezoom is identified correctly, now more completely as "Tamron
> > > AF 28-300mm" (not "28-300mm" as before). On the other hand the Tokina
> > > lens
> > 
> > is
> > 
> > > intentified as "Canon EF 20-35mm" and the 17-50mm-zoom gets a number:
> > 161.
> > 
> > > I suppose that it is a software-problem because when I open the same
> > > picture with irfanview (Windows XP) the correct lens data are
> > > displayed. What can I do in order to get the lenses correctly
> > > identified within digikam.
> > > Thanks in advance,
> > > Michael
> > > P.S.: Im using digikam 1.7.0 on openSuSE 11.3 - the x86_64 - Version
> > > with KDE 4.5
> > 
> > I just had a look a some pictures with exiftool: There I found some
> > contradicting data:
> > For the Tamron-17-50mm-zoom exiftools says:
> > Lens Type : Canon EF 28-70mm f/2.8L or Sigma or Tamron Lens
> > Long Focal                      : 17 mm
> > Short Focal                     : 50 mm
> > ..
> > Lens          : 17.0 - 50.0 mm
> > Lens ID      : Tamron AF 17-50mm f/2.8 Di-II LD Aspherical
> > 
> > digikam gives back: 161
> > 
> > For the the Tamron-28-300mm-zoom exiftools says:
> > Lens Type   : Canon EF 28-200mm f/3.5-5.6 or Tamron Lens
> > Long Focal                      : 28 mm
> > Short Focal                     : 300 mm
> > ..
> > Lens      : 28.0 - 300.0 mm
> > Lens ID  : Tamron AF 28-300mm f/3.5-6.3 XR Di VC LD Aspherical [IF] Macro
> > Model A20
> > 
> > here digikam displays the correct lens: Tamron AF 28-300mm f/3.5-6.3 XR
> > Di VC
> > LD Aspherical [IF] Macro Model A20
> > 
> > And last but not least exiftool identifies the Tokina lens as:
> > Lens Type                       : Canon EF 20-35mm f/3.5-4.5 USM or
> > Tamron Lens
> > Long Focal                      : 24 mm
> > Short Focal                     : 12 mm
> > ..
> > Lens                            : 12.0 - 24.0 mm
> > Lens ID                         : Unknown (160) 12-24mm
> > 
> > in this case digikam tells me that I used a Canon EF 20-35mm.
> > 
> > It seems to me that digikam is using different ways to handle the
> > exif-data in
> > order to determine the lens.
> > 
> > Is there a way to persuade digikam to display the correct lens data?
> > Thanks!
> > Michael
> > _______________________________________________
> > Digikam-users mailing list
> > Digikam-users at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-users




More information about the Digikam-users mailing list