Bug 226846 - Issues with color management and color profiles
Summary: Issues with color management and color profiles
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Profiles (show other bugs)
Version: 1.0.0
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 17:24 UTC by Alexios Beveratos
Modified: 2022-02-01 11:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.2.0
Sentry Crash Report:


Attachments
Different color interpretention (167.30 KB, image/jpeg)
2010-02-14 17:24 UTC, Alexios Beveratos
Details
Original photo with issue (709.10 KB, image/jpeg)
2010-02-14 23:06 UTC, Alexios Beveratos
Details
Really the original (744.18 KB, image/jpeg)
2010-02-14 23:07 UTC, Alexios Beveratos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexios Beveratos 2010-02-14 17:24:05 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Mandriva RPMs

Dear developers

I have observed an important issue with the color management of digikam with jpg photos. Here is the problem (see also attached files)

When I preview an image, I get two versions, one blueish and one with normal colors (at least on my screen, which is calibrated and profile applied with xcalib)

When I edit the photo (F4) I get a warning that the embedded color profile and the working color profile are not the same.

If I do not convert it, I still have a blueish photo. If I convert it I do get the right colors.

But the issue is that the embedded color profile and the working color profile are exactly the same

(here is a copy-paste of the profiles when I click on info)
Embedded color profile

File name:  (ICC Color Profile Information)

>>> Header <<<

Rendering Intent : Perceptual
Profile Version : 34603008
Profile ID : 0
Name : IEC 61966-2.1 Default RGB colour space - sRGB
Model : IEC 61966-2.1 Default RGB colour space - sRGB
Manufacturer : IEC http://www.iec.ch
Information : sRGB IEC61966-2.1 Copyright (c) 1998 Hewlett-Packard Company WhitePoint : D65 (daylight)
Device Class : Display device
Description : sRGB IEC61966-2.1
Copyright : Copyright (c) 1998 Hewlett-Packard Company
Connection Space : Unknown
Color Space : RGB
CMM Flags : 0

Working color profile

File name:  (ICC Color Profile Information)

>>> Header <<<

Rendering Intent : Perceptual
Profile Version : 34603008
Profile ID : 0
Name : IEC 61966-2.1 Default RGB colour space - sRGB
Model : IEC 61966-2.1 Default RGB colour space - sRGB
Manufacturer : IEC http://www.iec.ch
Information : sRGB IEC61966-2.1 Copyright (c) 1998 Hewlett-Packard Company WhitePoint : D65 (daylight)
Device Class : Display device
Description : sRGB IEC61966-2.1
Copyright : Copyright (c) 1998 Hewlett-Packard Company
Connection Space : Unknown
Color Space : RGB
CMM Flags : 0

Thank you

Alex
Comment 1 Alexios Beveratos 2010-02-14 17:24:58 UTC
Created attachment 40770 [details]
Different color interpretention
Comment 2 caulier.gilles 2010-02-14 17:26:04 UTC
Which digiKam version you use. Try 1.1.0...

Gilles Caulier
Comment 3 Alexios Beveratos 2010-02-14 17:28:22 UTC
Sorry,

I used digikam 1.0.0

will try 1.1.0 and keep you informed
Comment 4 Marcel Wiesweg 2010-02-14 22:42:21 UTC
Please give us the affected photo.
Was it edited with an older digikam version, about one year ago?
Comment 5 Alexios Beveratos 2010-02-14 23:05:23 UTC
I was unable to compile 1.1.0 version to check, but here is the original photo that I uploaded

Yes it was created with an older version of digikam, since the photo is dated from Nov 2008
Comment 6 Alexios Beveratos 2010-02-14 23:06:19 UTC
Created attachment 40776 [details]
Original photo with issue
Comment 7 Alexios Beveratos 2010-02-14 23:07:18 UTC
Created attachment 40777 [details]
Really the original

Here is the unedited version
Comment 8 Alexios Beveratos 2010-02-14 23:07:54 UTC
Comment on attachment 40776 [details]
Original photo with issue

This is a photo which I saved the profile with digikam 1.0.0
Comment 9 Marcel Wiesweg 2010-02-14 23:33:11 UTC
The embedded profile is "sRGB Whitepoint: D50".
This is probably wrong and creates the bluish colors - D65 is normal.
You can see that the circle in the CIE Tongue is at a different place than for normal images.
It's probably digikam's fault because such a wrong profile has been shipped with certain older versions of libkdcraw.

There is a command line solution with exivtool available IIRC simply to strip off the wrong profile.
Comment 10 Alexios Beveratos 2010-02-14 23:43:23 UTC
Thank's this is compatible with the fact that almost ALL my photos need to change their color profile :-(

But, when I look at the embedded profile, it give me D65 not D50, so maybe that's why I did not found the problem before. 
Is it a bug of version 1.0.0 ?
Comment 11 Marcel Wiesweg 2010-02-17 16:43:24 UTC
Don't know if there was a problem in 1.0. Maybe. I can confirm that the profile shown in the right side bar here is D50.

I close this bug report now. Have you found the right command to fix your photos? It was discussed on digikam-user IIRC and involved exiftool.
The imagemagick solution was not the way to go.