[Gimp-developer] HSL patch

Robert L Krawitz rlk at alum.mit.edu
Wed Jan 10 03:53:09 PST 2007


   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.

-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf at uunet.uu.net
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton


More information about the Gimp-developer mailing list