Page 1 of 1

possible bug HSL to RGB IM 6.6.9.8 Q16

Posted: 2011-05-13T17:28:12-07:00
by fmw42
IM 6.6.9.8 Q16 Mac OSX tiger.

One of my scripts, huemap, seems to be failing and I think I have tracked down the problem to converting back from HSL to RGB using the following as a test:

According to http://www.imagemagick.org/Usage/color_ ... bine_other, the following should look exactly like the original rose: image.

convert rose: -colorspace HSL -separate \
-set colorspace HSL -combine -colorspace RGB rose_hsl_rgb.png

Image


Same result with:

convert rose: -colorspace HSL -separate rose_%d.png
convert rose_0.png -colorspace HSL \
rose_0.png -compose CopyRed -composite \
rose_1.png -compose CopyGreen -composite \
rose_2.png -compose CopyBlue -composite \
-colorspace RGB rose_hsl_rgb.png

Re: possible bug HSL to RGB IM 6.6.9.8 Q16

Posted: 2011-05-14T07:20:00-07:00
by magick
We can reproduce the problem you reported and have a patch in ImageMagick 6.6.9-9 Beta available by sometime tomorrow. Thanks.

Re: possible bug HSL to RGB IM 6.6.9.8 Q16

Posted: 2011-05-15T16:18:23-07:00
by fmw42
magick wrote:We can reproduce the problem you reported and have a patch in ImageMagick 6.6.9-9 Beta available by sometime tomorrow. Thanks.
Thanks. This works fine in IM 6.6.9.9