Re: colorspace converters
- From: jrb redhat com
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list gnome org, federico ximian com, raph acm org
- Subject: Re: colorspace converters
- Date: 06 Feb 2001 14:05:32 -0500
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]