RGB to CIELab transformation

Necko Nedjoni <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
As a part of a larger project, I was recently assigned to investigate the possibility of coloringswithin our visualizations. Namely, I came across the CIELab color space, which seems to be preferable choice in the relatedliterature. The initial readings suggest that a conversion from device-depended RGB is possible, and I wonder how this could be achieved with cairo.
The function I use currently (sample):
cairo_set_source_rgb(cr, 1, 0.0, 1.0);
Perhaps someone could share the conversion code.

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.