[Openicc] How to properly get the right _ICC_PROFILE_n (Was: Suggested update to "ICC Profiles in X Specification 0.4")

Tobias Ellinghaus houz at gmx.de
Thu Nov 17 09:29:11 UTC 2016


Am Donnerstag, 17. November 2016, 07:40:15 CET schrieb Graeme Gill:
> Tobias Ellinghaus wrote:
> 
> Hi,

Hi and thanks for the reply. I guess I forgot to introduce myself, I am the 
author of that tool "darktable-cmstest" which started the discussion on the 
Argyll list. And I am happy to admit that I have no idea what I am doing there 
so every possible bug might be on my side. :-)

The code in question can be found here:

https://github.com/darktable-org/darktable/blob/master/src/cmstest/main.c

and can be compiled standalone without darktable. There is a comment how to do 
that.

> > The specification in its current 0.4 form calls for the screens to be
> > numbered in the Xinerama order.
> 
> I don't know what the definition of that is. Furthermore, since Xinerama
> doesn't have the concept of Outputs, I don't see how it can cover them.

I was just citing the specs.

> > In your proposed change you only mention the X11 Screen
> > index. I couldn't find any documentation to what that is. Do you have any
> > pointer to how to get that number?
> 
> Standard X11 screen_number, i.e. what's after the '.' in
> the DISPLAY environment variable. The 2nd argument to the
> XRootWindow() function. etc.

Is that enough though? What I see on my system (a laptop with external monitor 
attached) is that there is only one screen which has two outputs.

> Graeme Gill.

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/openicc/attachments/20161117/121de777/attachment.sig>


More information about the openicc mailing list