[argyllcms] Re: HSB/HSV and HSL calculation

  • From: Peter C <peterchan.ml@xxxxxxxxx>
  • To: Graeme Gill <argyllcms@xxxxxxxxxxxxx>
  • Date: Fri, 6 Mar 2009 15:53:50 +0800

On Thu, Mar 5, 2009 at 3:16 AM, tresorjoe email <tresorjoe@xxxxxxxxxxx>wrote:

I am looking for a very fast RGB -> HSB/HSV or RGB -> HSL conversion
function. Does anybody have some calculations done based on integer values,
"C" language?


There is C source based on easyrgb.com formulas,

http://www.tecgraf.puc-rio.br/~mgattass/color/ColorIndex.html

Integer ? Conversion from floating point should be no problem.

Peter C.

Other related posts: