Thread: Convert from CIE to RGB with Xlib

  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    2

    Convert from CIE to RGB with Xlib

    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.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    2
    Quote Originally Posted by Salem View Post
    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.
    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.

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    412

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Xlib perversity
    By MK27 in forum Linux Programming
    Replies: 3
    Last Post: 09-25-2009, 01:02 PM
  2. x,xlib, xt, motif or ??
    By nga_tom in forum Linux Programming
    Replies: 10
    Last Post: 12-31-2007, 04:18 PM
  3. XLib documentation
    By Series X4 1.0 in forum Linux Programming
    Replies: 1
    Last Post: 03-20-2005, 06:31 PM
  4. Xlib
    By Fall Khadim in forum C Programming
    Replies: 2
    Last Post: 07-20-2003, 03:51 AM

Tags for this Thread