Bug 124989 - Problems with ICC profile type recognition
Summary: Problems with ICC profile type recognition
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Profiles (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 20:36 UTC by Christoph Karle
Modified: 2022-02-01 11:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Karle 2006-04-05 20:36:45 UTC
Version:           9.0 svn (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs
Compiler:          gcc 4.0.2 
OS:                Linux

The type of ICC profile isn't recognized correctly, at least for input profiles. Earlier svn versions of digikam 0.9 correctly recognized the input profiles for my Nikon D70 (from Nikon Capture), but newer versions only list the Nikon LAB profile (which of course isn't even an input profile). Maybe an additional option for manual selection of .icc files would be helpful.
Comment 1 F.J. Cruz 2006-04-05 23:37:40 UTC
El Mi
Comment 2 Christoph Karle 2006-04-06 21:08:14 UTC
Yes those are the files that I mean. But the problem is, that digikam ask me 
for a profile, when I open a .nef and then crashes with:
lcms: Error #12288; Input profile is operating on wrong colorspace
KCrash: Application 'digikam' crashing...
and I think that's because I don't have an input profile selected. If I 
disable color management and use the color management plugin, I don't have a 
color managed view.
Regards

Christoph 
Comment 3 F.J. Cruz 2006-04-06 22:59:15 UTC
El Jueves, 6 de Abril de 2006 21:08, Christoph Karle escribi
Comment 4 Marcus Popp 2006-06-08 00:31:53 UTC
Hi Paco,

i've got the same problems here 
NKDBase_NEF.icm ==> UNKNOW device class (1852534886)
and crash if I use as input profile (nikon lab) with
lcms: Error #12288; Input profile is operating on wrong colorspace
KCrash: Application 'digikam' crashing...

hth,

Marcus.
Comment 5 caulier.gilles 2006-06-08 07:09:50 UTC
Can you  give a GDB backtrace to locate where is the problem in source code ?

Gilles Caulier
Comment 6 F.J. Cruz 2006-06-08 09:34:40 UTC
As I said in my previous mail, the problem is dued to a color spaces conflict.

I talked about this 1 or 2 months ago, but we don't reach any conclusion, so this possible bug isn't solved.

About profiles with uncompletes fields, I talked about them too. As i said in one of my emails ( I don't remember which one), in previous versions of digiKam some kind of profiles (not tagged as "input device class") was included as "input" icc, like sRGB profiles, but later this was considered as a possible bug and was fixed, so only profiles tagged as "Input devices" are showed, in fact, only profiles with "device class" tag are taken in account as candidates for input, workspace, display or proof profiles.

I any case, I m sure I've fixed some race conditions to avoid digiKam crashes dued to errors with lcms, as you propposed me. I'm going to review it.

Paco Cruz
Comment 7 caulier.gilles 2006-07-03 16:23:46 UTC
Marcus, can you reproduce this problem again using a fresh svn checkout ? Thanks in advance

Gilles Caulier
Comment 8 Marcus Popp 2006-07-05 22:37:36 UTC
It does not crash anymore if I use the Nikon Lab as Colorspace for the Input. But NKDBase_NEF.icm is still not known (==> UNKNOW device class (1852534886))

hth,

Marcus.
Comment 9 caulier.gilles 2006-07-05 23:26:52 UTC
yes, the lcms crash handler have been enabled everywhere.

About icc file recognition, the error is reported by lcms, not digiKam directly. Perhaps this problem will be fixed in future release of lcms.

Gilles
Comment 10 F.J. Cruz 2007-02-15 23:10:41 UTC
I think it's time to close this bug, since it depends on Little CMS stuff.

I don't know if WONTFIX is the right tag. Feel free to correct it.

Paco Cruz