Re: colorspace converters



Around 13 o'clock on Feb 6, Havoc Pennington wrote:
> 
> Would like to add a function to convert between colorspaces, probably
> to gdk-pixbuf. 

There is a bit of support in Xlib for colorspace conversions and device
characterization.  Perhaps those functions will provide what you're looking
for, check out Xcms.h.  Xlib doesn't have native support for HLS or HSV
formats, instead it focuses on the standard CIE color spaces along with a
Tektronix invention called HVC.

I wouldn't be opposed to adding new colorspaces to Xlib, but that will 
take some time to propogate into distributions.

keithp keithp com	 XFree86 Core Team		SuSE, Inc.






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