[argyllcms] Re: HSB/HSV and HSL calculation

  • From: Andrew Asman <andrew.asman@xxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Thu, 5 Mar 2009 12:55:20 -0500

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?
> <http://redirect.gimas.net/?n=M0903Wave3Party_DE>


That link has pseudocode for converting RGB -> HSL and RGB -> HSV. The
pseudocode is "C" like, although I'm not sure exactly what you mean by
"based on integer values".

Andrew Asman.

Other related posts: