[Bug 312551] New: showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

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

[Bug 312551] New: showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

            Bug ID: 312551
           Summary: showFoto displays camera jpegs with AdobeRGB DCF
                    information with a blue color cast
    Classification: Unclassified
           Product: digikam
           Version: 2.9.0
          Hardware: openSUSE RPMs
               URL: http://ninedegreesbelow.com/temp/digikam-DCF-bug-repor
                    t.html
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Color Management
          Assignee: [hidden email]
          Reporter: [hidden email]

When opening a digital camera jpeg with embedded Adobe RGB DCF information, the
image is displayed with a strong blue color cast. When opening a digital camera
jpeg with embedded sRGB DCF information, the image is displayed correctly. When
saving the images, the Adobe image gets a scarse adobe profile. The sRGB image
gets an lcms-generated profile.

Using Gimp to assign "ClayRGB.icm" to the Adobe camera jpeg makes the image
display correctly.

Reproducible: Always

Steps to Reproduce:
1. Use showFoto to open a digital camera jpeg with embedded DCF Adobe color
space information.
2. Look at the image.
3. Save the image.
Actual Results:  
The image is displayed with a strong blue color cast.

Expected Results:  
The image shouldn't have a color cast.

From the Canon 400D camera jpeg:
Interoperability Index          : R03 - DCF option file (Adobe RGB)

After saving with showFoto:
Red Matrix Column               : 0.57668 0.29735 0.02704
Green Matrix Column             : 0.18556 0.62737 0.07069
Blue Matrix Column              : 0.18823 0.0753 0.99135

Those don't look like the right primaries for AdobeRGB-like profiles.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=312551

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Gilles Caulier <[hidden email]> ---
To reproduce here, we needs original image and color profile files.

Also, which version of lcms you use ? Go to Help/Components Info for details.

Which CPU you use ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Elle Stone
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

--- Comment #2 from Elle Stone <[hidden email]> ---
On 1/3/13, Gilles Caulier <[hidden email]> wrote:
> To reproduce here, we needs original image and color profile files.
The image files and the ClayRGB1998.icm profile can be downloaded from here:
http://ninedegreesbelow.com/temp/digikam-DCF-bug-report.html

> Also, which version of lcms you use ?
I have lcms 1.19 and lcms2 2.4 installed on my system. showFoto is
using 1.19. I put the full components information in the web page.

> Which CPU you use ?
I'm not sure what you mean by CPU. The CPU on the motherboard is an
AMD opteron 252 processor, single core, 64-bit.

Elle

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Elle Stone
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

--- Comment #3 from Elle Stone <[hidden email]> ---
Created attachment 81812
  --> https://bugs.kde.org/attachment.cgi?id=81812&action=edit
A solid white test jpeg.

This is a solid white test jpeg. All RGB values are (255,255,255). When a
proper ICC working space profile is assigned to this image, it should look
white, not blue-green.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Elle Stone
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

--- Comment #4 from Elle Stone <[hidden email]> ---
It seems that digiKam/Showfoto properly reads the embedded metadata to detect
that the image is supposed to be in the Adobe color space. The problem seems to
be that digiKam/Showfoto then assigns this color space profile:
/usr/share/apps/libkdcraw/profiles/adobergb.icm. That adobe profile is
defective. It uses non-adapted primaries (http://brucelindbloom.com/ - read
down to the section called "Adapted Primaries"). If you assign this defective
adobe profile to a solid white jpeg (see attached solid white test jpeg), the
jpeg will turn blue-green.

Two other profiles in the libkdcraw/profiles folder are also defective in the
same way: applergb.icm and srgb.icm both have unadapted primaries and will turn
a solid white jpeg blue-green if assigned.

I replaced the defective adobe profile with the argyllcms "clayrgb" profile
(changing the name), and Showfoto then properly opened a test camera-generated
jpeg that was saved in the adobe color space.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Gilles Caulier-4
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

--- Comment #5 from Gilles Caulier <[hidden email]> ---
Elle,

This problem still valid using last digiKam 4.2.0 ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

Elle Stone-2
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

Elle Stone <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ellestone@ninedegreesbelow.
                   |                            |com

--- Comment #6 from Elle Stone <[hidden email]> ---
(In reply to Gilles Caulier from comment #5)
> Elle,
>
> This problem still valid using last digiKam 4.2.0 ?
>
> Gilles Caulier

Gilles, unfortunately digikam 4.2.0 is hard-masked in Gentoo portage and my
efforts to install it locally failed with errors. So I can't check. My
apologies!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

bugzilla_noreply
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

--- Comment #7 from [hidden email] ---
This problem still reproducible with digiKam 5.0.0 ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 312551] showFoto displays camera jpegs with AdobeRGB DCF information with a blue color cast

bugzilla_noreply
In reply to this post by Elle Stone
https://bugs.kde.org/show_bug.cgi?id=312551

--- Comment #8 from [hidden email] ---
What's about this file using digiKam AppImage bundle 5.4.0 pre release given at
this url :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.