Re: colorspace converters



Havoc Pennington <hp redhat com> writes:

> Hi,
> 
> Would like to add a function to convert between colorspaces, probably
> to gdk-pixbuf. 
> 
> At the moment GTK contains code in static functions to do RGB<->HSV
> and RGB<->HLS. I need RGB<->HLS in another file, is the immediate need
> for the public converter function. Anyhow, those three colorspace
> converters would be what we'd initially support.

While it could probably done nicer, as a reminder there already are
public gtk_hsv_to_rgb and gtk_rgb_to_hsv functions in gtkhsv.h in
gtk-HEAD.

Thanks,
-Jonathan




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