PDA

View Full Version : Convert from CIE to RGB with Xlib



papos73
06-23-2011, 05:53 AM
Hello peoples! I'm new programmer in *NIX, and I need in method of converting from CIE colour format to RGB colour format with Xlib. I don't find this method in Internet, help me please. Sorry, my english is bad.

Salem
06-23-2011, 06:06 AM
Well if you've searched the XLib API for something to do it, and found nothing, then you're going to have to write to code yourself (or find some standalone code to adapt for your use).

Here's the maths.
Computer RGB colour space. (http://www5.informatik.tu-muenchen.de/lehre/vorlesungen/graphik/info/csc/COL_21.htm)

papos73
06-23-2011, 06:39 AM
Well if you've searched the XLib API for something to do it, and found nothing, then you're going to have to write to code yourself (or find some standalone code to adapt for your use).

Here's the maths.
Computer RGB colour space. (http://www5.informatik.tu-muenchen.de/lehre/vorlesungen/graphik/info/csc/COL_21.htm)

Thanks for request, but I don't know how do it. I don't have a matrix, I have a X,Y,Z values of CIE. How convert this values in RGB? Help me please.

_Mike
06-23-2011, 07:07 AM
Does this help?
EasyRGB - The inimitable RGB and COLOR search engine! (http://www.easyrgb.com/index.php?X=MATH&H=01#text1)