Re: HSL patch

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

 



Hi,

On Wed, 2007-01-10 at 06:53 -0500, Robert L Krawitz wrote:
>    From: Sven Neumann <sven@xxxxxxxx>
>    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


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux