Bug 131947 - DigiKam complains about invalid ICC profiles path
Summary: DigiKam complains about invalid ICC profiles path
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-ColorManagement (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 12:01 UTC by Dik Takken
Modified: 2017-08-10 06:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.0


Attachments
digikamrc (12.31 KB, text/plain)
2006-11-30 19:33 UTC, Dik Takken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2006-08-06 12:01:42 UTC
Version:           0.9.0-Beta1 (using KDE KDE 3.5.3)
Installed from:    Gentoo Packages
OS:                Linux

Whenever I open an image in the image editor, a dialog pops up saying:

"ICC profiles path seems to be invalid. No transform will be done.<p>Please solve it in digiKam setup."

My ICC profile path is set correctly, and DigiKam can use all ICC profiles stored there just fine. Colormanagement seems to work just fine, except for this dialog showing every time.
Comment 1 Dik Takken 2006-10-15 22:17:14 UTC
In Beta2, I still get this message on every image I open in the editor.

Comment 2 Dik Takken 2006-11-24 16:57:15 UTC
Is there any progress on color management in Digikam? It is still completely broken in 0.9.0-Beta3... It works perfectly in CinePaint though.
Comment 3 caulier.gilles 2006-11-24 18:33:13 UTC
Paco, 

can you check this report. Thanks in advance

Gilles
Comment 4 caulier.gilles 2006-11-27 07:54:46 UTC
Dik,

what is your icc repository path ? In local or remote place ?

What right is set to this path ?

Gilles
Comment 5 Dik Takken 2006-11-29 18:22:47 UTC
My icc profile path is:

~/.color/icc

both '.color' and '.color/icc' have access rights 'drwxr-xr-x'.

I tried moving the icc directory to my desktop and point DigiKam to that directory, but I keep getting the same error message.
Comment 6 caulier.gilles 2006-11-30 07:28:43 UTC
Are you some error messages in the console ?

Nota : i cannot reproduce this problem here (:=)))...

Can you attach your "~/.kde/share/config/digikamrc" setup file please ?

Thanks in advance

Gilles
Comment 7 Dik Takken 2006-11-30 19:33:22 UTC
Created attachment 18737 [details]
digikamrc
Comment 8 Dik Takken 2006-11-30 19:34:02 UTC
here it is..
Comment 9 Dik Takken 2006-11-30 19:35:58 UTC
Opening an image in the image editor generates the following messages on console:

kdeui (KDatePicker): KDatePicker::dateChangedSlot: date changed (2006/11/30).
kio (KTrader): query for Digikam/ImagePlugin : returning 30 offers
QFile::open: No file name specified
digikam: Exif Orientation: 1
Comment 10 Dik Takken 2006-11-30 19:38:59 UTC
After clicking OK on the error message, a get a few dozen of these on the terminal:

digikam: intent: 0
lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 128 bytes
lcms: Error #12288; Corrupted memory profile
digikam: Error: Input profile is NULL

sorry about flooding your mail boxes.... :)
Comment 11 caulier.gilles 2006-11-30 20:08:51 UTC
no problem. My mail box is full of messages for digiKam world (:=)))...

Give me an attachement with all your icc profiles used to import a picture in editor (camera and workspace)

Gilles
Comment 12 caulier.gilles 2006-12-01 07:44:16 UTC
ok, this is the problem :

[Color Management]
BPCAlgorithm=false
BehaviourICC=false
CMInRawLoading=false
DefaultPath=$HOME/Desktop/icc
EnableCM=true
InProfile=0
InProfileFile=

==> there is no ICC file set like Input profile !

ManagedView=true
MonitorProfile=4
MonitorProfileFile=$HOME/Desktop/icc/Monitor Gamma 2.2.icc
ProofProfile=11
ProofProfileFile=$HOME/Desktop/icc/fsnEnduraSupraGlossyV2.icc
RenderingIntent=0
WorkProfileFile=/usr/share/apps/digikam/profiles/srgb.icm
WorkSpaceProfile=7

Normally it's impossible to use CM without an input ICC profile.

Just to test, set one input ICC profile on the list an try again.

Gilles
Comment 13 caulier.gilles 2006-12-01 10:58:01 UTC
Ok, i can reproduce the problem here... now... I will fix it.

Gilles
Comment 14 Dik Takken 2006-12-01 12:58:13 UTC
I don't have an input profile for my camera, or any other input profile for testing. So I had to leave it blank.

Thanks for looking into the problem!
Comment 15 caulier.gilles 2006-12-01 13:01:37 UTC
Are you working with JPEG or RAW files ?

Witch bits color depth you use to decode RAW files ? 8 or 16 ?

Gilles

Comment 16 Dik Takken 2006-12-01 13:11:41 UTC
I work with 8-bit JPEG images (cheap digital camera) and 16-bit TIFF (slide scanner)

As a side note:

I was already wondering what DigiKam was doing to files that do not have an embedded profile. CinePaint will ask which profile to assign to the image, if no default has been set.

I was thinking that the 'input profile' was for importing from digital camera's only, not for existing images on harddisk.
Comment 17 caulier.gilles 2006-12-01 14:28:10 UTC
Dik, 

Please checkout svn and give me a feedback. I have fixed a lot of problems in Color Management with commit #609570. Look svn log for details or digikam-devel ML where this commit is CC.

Gilles
Comment 18 caulier.gilles 2006-12-02 18:41:37 UTC
This bug have been fixed in current svn implementation. I close this file now.

Gilles