Re: Xcms




Karl Nelson <kenelson@ece.ucdavis.edu> writes:

> Is there any plan to wrap Xcms in gdk?  Are there any reasons not to?

 - It is quite complicated
 - It is very tied to X 
 - It is not very well supported on many X servers. (And not
   at all on older ones)
 - It is useful for a pretty small subset of GTK applications.
 - Applications that really care about such things probably 
   want to be able to do the correction for things other than
   the screen as well. And I'm not sure Xcms really supports
   that.
 - The advanced features of Xcms have a complicated callback
   structure which would be harder to wrap in GDK.

But on the other hand, color correction would be nice to
have, and is very important for some applications. If
somebody wanted to study Xcms and figure out what exactly
would be involved in supporting it in GDK, I think people
would certainly be interested.

I suppose there are two distinct parts of Xcms to be considered:

 - The facilities for converting between color spaces
 - The facilities for doing color correction.

You actually can use the first to some extent by printing
the values you want into a string ("CIEXYZ:0.5/0.5/0.5")
and then using gdk_color_parse() on that.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]