[Openicc] Some questions about ICC Profiles in X

Kai-Uwe Behrmann ku.b at gmx.de
Wed Nov 4 02:47:56 PST 2009


Am 04.11.09, 10:23 -0000 schrieb Richard Hughes:
> 2009/11/4 Kai-Uwe Behrmann <ku.b at gmx.de>:
>> The idea is to have exact one atom "_ICC_PROFILE" per XRandR output.
>> This involves scanning of every output and reading that atom. There are no
>> atom name variations as used for the root window atom (_ICC_PROFILE_xxx
>> style).
>
> Ohh, I see. How do you set an atom on an output? It's easy to set an
> aton on the root window (and this is what gnome-color-manager
> presently does) but I'm not sure about how you do the former. Got any
> hints? Thanks.

Attached is a small test app. I hope you can make sense from it.

Note there might still be problems with not well behaving XRandR driver 
side implemetations.


kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XRandRSetProfile.c
Type: text/x-c++src
Size: 3651 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/openicc/attachments/20091104/586f0269/attachment.cc 


More information about the openicc mailing list