[argyllcms] Re: HSB/HSV and HSL calculation

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>
>


http://www.easyrgb.com/index.php?X=MATH

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: