Open bburdette opened 7 years ago
Yeah, that looks like a bug. Add a failing test?
I'd expect some level of slush, due to non-linearity and floating-point representations. But black = white is wrong. :)
One failing test! https://github.com/thinktopic/think.image/compare/hsv-test It looks like there's trouble when (= r b g) - unless they are all zero.
You'd think that composing these functions would give you back the same color! It does, but just not if your color is pure white.