<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unwanted color space conversion done by OS X"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96583">96583</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unwanted color space conversion done by OS X
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>quartz backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>vladimir@pobox.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ar2988-gim@yahoo.co.uk
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=739989">https://bugzilla.gnome.org/show_bug.cgi?id=739989</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>