[Digikam-devel] [Bug 172196] Color managed view is inaccurate

Marcel Wiesweg marcel.wiesweg at gmx.de
Fri Dec 25 10:38:52 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=172196





--- Comment #20 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-25 11:38:50 ---
I just checked with our JPEG loader. The YCCK->CMYK conversion is done by
libjpeg internally. We then convert to RGB using a simplistic routine that we
took from Qt's JPEG loader:
                        int k = ptr[3];
                        ptr2[3] = 0xFF;
                        ptr2[2] = k * ptr[0] / 255;
                        ptr2[1] = k * ptr[1] / 255;
                        ptr2[0] = k * ptr[2] / 255;
Not more.
I dont know if assigning any CMYK ICC profile and later converting to sRGB
would improve the general case of any given CMYK image here.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list