[KPhotoAlbum] Patch to search EXIF data by lens

Robert Krawitz rlk at alum.mit.edu
Fri Jul 31 14:51:20 BST 2015

On Fri, 31 Jul 2015 01:09:38 +0200, Johannes Zarl-Zierl wrote:
> Hi Robert,
> Thanks for the patch! I've added searching for empty values and made sure the exif db is updated properly...
> Could you please try out the patch as it has been added to git master?


There's only one problem with the algorithm for determining the lens
model (and it has nothing to do with your patch vs. mine): until
relatively recently, the LensModel wasn't in Exif.Photo.  In my case,
it wasn't until firmware 2.0 came out in 2012 that LensModel was
stored in Exif.Photo.LensModel.  Prior to that, it was in

I wonder if we need to do some kind of pattern match to look for
LensModel if we don't find it in Exif.Photo.

> On Thursday 30 July 2015 09:57:25 Robert Krawitz wrote:
>> This patch allows searching by lens model.  That's useful if e. g. you
>> want to see how well a given lens is performing.
>> You do, of course, have to rebuild your EXIF database before using
>> this feature.

Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton

More information about the Kphotoalbum mailing list