Tuesday, September 9, 2014

color space conversion

Recently I was working on some C code for an image-manipulation app, and I had to write logic to convert between RGB and HSL (hue-saturation-lightness) representations of color. For extra confidence in its correctness, I decided to cross-check the C version against this Haskell implementation.

No comments:

Post a Comment