Re: [R] Colorspace: bug in HLS conversion?

2014-03-13 Thread Michael Gauland
Achim Zeileis uibk.ac.at> writes: > Maybe you are using an old version of "colorspace"? For version 1.1-1 > (from two years ago, version 1.2-4 is current) the NEWS file says: > ... That was it--thanks! As a developer, I should know enough to check the release notes... --Mike _

[R] Colorspace: bug in HLS conversion?

2014-03-13 Thread Michael Gauland
I just started using the colorspace package, and converting between RGB and HLS is not working as I expect. In particular, converting RGB(0,0,0) to HLS then back to RGB seems broken: #> as(as(RGB(0, 0, 0), "HLS"), "RGB") R G B [1,] 1 1 0 That is, converting black to HLS then bac