Bug 96583 - Unwanted color space conversion done by OS X
Summary: Unwanted color space conversion done by OS X
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium normal
Assignee: Vladimir Vukicevic
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-18 23:35 UTC by Adrian
Modified: 2018-08-25 14:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Adrian 2016-06-18 23:35:21 UTC
I am opening this ticket because display color management by Gimp under Mac OS X 10.8 or later, is incorrect. It appears that this issue goes back to the cairo quartz backend, used by Gimp.

As I understand it, cairo does not do any color management. The intended behavior of cairo is that it passes on the colors unchanged to the display.

This is what appears to be happening under Mac OS X. The display always has a color profile. By default, the OS creates the profile from the gamma and primary information in the EDID. The OS always color manages the display. From the cairo manual on quartz surfaces: "The surface is created using the Device RGB (or Device Gray, for A8) color space." Up to OS X 10.7, Device RGB was, in effect, the monitor color space. From OS X 10.8, Device RGB is sRGB. The intended behavior of cairo has been derailed by this change. We get an unwanted conversion from sRGB to the display profile, done by the OS.

So the fix would be to modify the system call so that the surface is definitely in the monitor color space.

Versions: I do not know which version of cairo was used to build Gimp 2.8.16. My OS version is 10.9.5.

Unfortunately I don't know how I could test any fix that might be proposed. I am a user of Gimp who noted the display color management issue; and who eventually discovered, with a hint from a Gimp developer, that the issue appears to go back to the cairo quartz backend. Other than that, I have no experience of Gimp or cairo development (least of all, building working binaries). My original bug report on Gimp is here: https://bugzilla.gnome.org/show_bug.cgi?id=739989
Comment 1 GitLab Migration User 2018-08-25 14:02:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/330.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.