[Digikam-users] Lensfun -- most cameras and lenses missing
Chris Dennis
cgdennis at btinternet.com
Tue Nov 1 13:23:37 GMT 2011
On 11/01/2011 01:03 PM, Philip Johnsson wrote:
> It's more likely that you use a lens that's not in the exiv2 database.
> Can be that you got a new batch of the lens that have a new ID that
> exiv2 doesn't recognizes. Check which lens ID the exiv2 tool show you
> from command line. Is OpenSuse using the latest exiv2 0.22? It contains
> the latest lens database.
No, that's not the problem. The camera and lens IDs from the EXIF data
are picked up correctly.
The problem is that digikam/lensfun is not reading all of the .xml files
in the /usr/share/apps/digikam/lensfun/ directory. It reads
slr-samsung.xml and a few others, and it all works if I copy the data
for my camera and lens from slr-canon.xml to slr-samsung.xml.
cheers
Chris
>
> If that doesn't work make a bug report to the exiv2 team with an example
> image that have meta data in the image with the unsupported lens ID. I
> did so recently with my Tamron 17-50/2.8 with Nikon mount that was in a
> new batch.
>
> /Philip
>
> On Nov 1, 2011 8:44 AM, "Photonoxx" <photonoxx at free.fr
> <mailto:photonoxx at free.fr>> wrote:
>
> I just make the a test, I'm on Opensuse 11.04 and KDE47 stable
> repository and things seems to be ok here. My main lens still not
> here (sigma 17-70mm) but it's due to the fact it is not here I
> think, since I see a various manufacturer and lens references
> (included Canon's ones).
>
> Could be the matter in the packaging ?
>
> Le Mon, 31 Oct 2011 23:10:37 +0100, Chris Dennis
> <cgdennis at btinternet.com <mailto:cgdennis at btinternet.com>> a �crit:
>
> On 10/31/2011 09:41 PM, Gilles Caulier wrote:
>
> 2011/10/31 Chris Dennis<cgdennis at btinternet.com
> <mailto:cgdennis at btinternet.com>__>:
>
> Hello Digikam people
>
> I've just installed Digikam on a new installation of
> ArchLinux. Everything
> is pretty much up to date -- Digikam is 2.2.0.
>
> Most of it works well, but the Lens Auto-Correction
> screen only lists a few
> cameras and lenses, nowhere near the whole list that I
> can see in the
> Lensfun xml files. �Strangely, the first time I try to
> use lens
> auto-correction, only Samsung cameras are listed; the
> second time, I see
> Fujifilm, Kodak, and Nikon too; with further attempts,
> no more cameras
> appear. �Which is a pity, because my camera is a Canon.
>
> On the console, I can see these error messages:
>
> digikam(976)/digikam (core)
> Digikam::DimgInterface::__getImg: d->image is NULL
> digikam(976)/digikam (core): ERROR: LensFun Interface
> Lens device is null.
>
> Googling on those hasn't turned up anything useful.
>
> It may be that I've got some libraries missing from
> ArchLinux.
>
>
> No. lensfun (last code), is included in digiKam core. And
> yes, more
> lens need to be added.
>
>
> Thanks for your reply, but I can see that
> /usr/share/apps/digikam/__lensfun/ contains a big range of
> camera and lens definitions; slr-canon.xml contains my camera
> and my lens. �But only a few of those definitions show up in
> digikam.
>
> I know that digikam is using those files, because changes I make
> in the Samsung file show up in digikam.
>
> Aha! �That suggests a work-around. �If I copy the Canon camera
> and lens definitions that I need into the Samsung file, they
> show up and are automatically selected in digikam! �So now I can
> make progress and apply corrections to my photos.
>
> There's a bug in there somewhere though.
>
> cheers
>
> Chris
>
>
>
>
>
> --
> --
> Nicolas Boulesteix
> Photographe chasseur de lueurs
> http://www.photonoxx.fr
> _________________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org <mailto:Digikam-users at kde.org>
> https://mail.kde.org/mailman/__listinfo/digikam-users
> <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
--
Chris Dennis cgdennis at btinternet.com
Fordingbridge, Hampshire, UK
More information about the Digikam-users
mailing list