[Openicc] Profile installation and association for Linux/Unix/X11

Tomas Carnecky tom at dbservice.com
Wed Apr 23 01:02:31 PDT 2008

Graeme Gill wrote:
> Tomas Carnecky wrote:
>> I will have to write something that would allow X clients ask each other
>> whether they have access to a particular profile or not (if they run on
>> different hosts and having access to different filesystems). And I'm
>> thinking about allowing xclients share profiles through the xserver.
>> That would require a registry inside the xserver.
> Why ? X11 Clients will get the default installed monitor profiles from the
> _ICC_PROFILE atoms.

It's not about the atom. I'm planing a system where applications will be 
able to attach profiles to windows, and let the compositing manager do 
the color transformation.
Simply attaching the whole ICC profile to the window would waste memory. 
Once toolkits start using it, then on a normal desktop you will have ~20 
windows each with the same profile attached and you end up with wasted 
memory from duplicated profiles.
So to follow the X11 spirit, where everything is an XID pointing to a 
resource in the server, uploading the profile to a registry in the 
server and only attaching the XID of it to the window is what I want to 
do. The registry will be some place where applications can put profiles 
to, enumerate available profiles, get their XIDs etc. Of course these 
details should be hidden from the applications by the means of a CMM.


More information about the openicc mailing list