Lensfun -- most cameras and lenses missing

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Lensfun -- most cameras and lenses missing

Chris Dennis
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.

cheers

Chris
--
Chris Dennis                                  [hidden email]
Fordingbridge, Hampshire, UK
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Gilles Caulier-4
2011/10/31 Chris Dennis <[hidden email]>:

> 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.

Contact lensfun author through lensfun project website to contribute.
There is a tutorial to register new device.

http://lensfun.berlios.de/

Best

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Chris Dennis
On 10/31/2011 09:41 PM, Gilles Caulier wrote:

> 2011/10/31 Chris Dennis<[hidden email]>:
>> 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



--
Chris Dennis                                  [hidden email]
Fordingbridge, Hampshire, UK
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Photonoxx
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 <[hidden email]>  
a écrit:

> On 10/31/2011 09:41 PM, Gilles Caulier wrote:
>> 2011/10/31 Chris Dennis<[hidden email]>:
>>> 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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Philip Johnsson

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.

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" <[hidden email]> 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 <[hidden email]> a écrit:

On 10/31/2011 09:41 PM, Gilles Caulier wrote:
2011/10/31 Chris Dennis<[hidden email]>:
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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Philip Johnsson

Sorry, disregard my latest post. Missed that this was about lensfun and lens correction and not exiv2 and meta data. With meta data and lens ID the above comment is true.

With lensfun and lens correction there is an other database. Noticed that my Tamron 17-50/2.8 isn't in the lensfun database so I will contribute the correction data using Hugin to lensfun when I get time this weekend.

/Philip

On Nov 1, 2011 2:03 PM, "Philip Johnsson" <[hidden email]> 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.

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" <[hidden email]> 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 <[hidden email]> a écrit:

On 10/31/2011 09:41 PM, Gilles Caulier wrote:
2011/10/31 Chris Dennis<[hidden email]>:
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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Chris Dennis
In reply to this post by Philip Johnsson
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" <[hidden email]
> <mailto:[hidden email]>> 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
>     <[hidden email] <mailto:[hidden email]>> a �crit:
>
>         On 10/31/2011 09:41 PM, Gilles Caulier wrote:
>
>             2011/10/31 Chris Dennis<[hidden email]
>             <mailto:[hidden email]>__>:
>
>                 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
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/__listinfo/digikam-users
>     <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users


--
Chris Dennis                                  [hidden email]
Fordingbridge, Hampshire, UK
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Gilles Caulier-4
In reply to this post by Philip Johnsson
Philip,

Your remark about Exiv2 is right. digiKam lensfun interface use Exiv2
to get lens description from metadata and past it to lensfun to find
relevant item in lens DB.

Gilles Caulier

2011/11/1 Philip Johnsson <[hidden email]>:

> Sorry, disregard my latest post. Missed that this was about lensfun and lens
> correction and not exiv2 and meta data. With meta data and lens ID the above
> comment is true.
>
> With lensfun and lens correction there is an other database. Noticed that my
> Tamron 17-50/2.8 isn't in the lensfun database so I will contribute the
> correction data using Hugin to lensfun when I get time this weekend.
>
> /Philip
>
> On Nov 1, 2011 2:03 PM, "Philip Johnsson" <[hidden email]> 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.
>>
>> 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" <[hidden email]> 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
>>> <[hidden email]> a écrit:
>>>
>>>> On 10/31/2011 09:41 PM, Gilles Caulier wrote:
>>>>>
>>>>> 2011/10/31 Chris Dennis<[hidden email]>:
>>>>>>
>>>>>> 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
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Photonoxx
In reply to this post by Philip Johnsson
Just to say, personally I don't have matter with lens... I see a lot of  
lens (include Canon), I just send a message which said the matter doesn't  
seem to come from Digikam 2.2 since there's no matter with it on Opensuse.
Le Tue, 01 Nov 2011 14:03:13 +0100, Philip Johnsson  
<[hidden email]> a écrit:

> 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.
>
> 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" <[hidden email]> 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  
>> <[hidden email]>
>> a écrit:
>>
>>  On 10/31/2011 09:41 PM, Gilles Caulier wrote:
>>>
>>>> 2011/10/31 Chris Dennis<[hidden email]**>:
>>>>
>>>>> 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
>> [hidden email]
>> https://mail.kde.org/mailman/**listinfo/digikam-users<https://mail.kde.org/mailman/listinfo/digikam-users>
>>


--
--
Nicolas Boulesteix
Photographe chasseur de lueurs
http://www.photonoxx.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Lensfun -- most cameras and lenses missing

Chris Dennis
In reply to this post by Chris Dennis
On 11/01/2011 01:23 PM, Chris Dennis wrote:

> 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.

I think my computer is trying to make me look stupid.

Today, it all works perfectly.  Don't ask me why.

Apologies for the confusion, and thank you to all who replied.

cheers

Chris
--
Chris Dennis                                  [hidden email]
Fordingbridge, Hampshire, UK
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users