[Gimp-developer] HSL patch
Sven Neumann
sven at gimp.org
Wed Jan 10 23:22:20 PST 2007
Hi,
On Wed, 2007-01-10 at 06:53 -0500, Robert L Krawitz wrote:
> From: Sven Neumann <sven at gimp.org>
> Date: Wed, 10 Jan 2007 08:53:02 +0100
>
> can you explain to me why your patch introduces new functions in
> libgimpcolor? Couldn't you just use the existing gimp_rgb_to_hsl()
> and gimp_hsl_to_rgb()?
>
> I did it the way I did to use the same implementation as the existing
> compose_hsv() function. In addition, it isn't clear to me why there
> should be gimp_rgb_to_hsv4 but not gimp_rgb_to_hsl4.
gimp_rgb_to_hsv4() is there for historical reasons. If we could, we
would probably remove it from the API. I don't think we want to
introduce a HSL variant of it now.
Sven
More information about the Gimp-developer
mailing list