possible bug HSL to RGB IM 6.6.9.8 Q16
Posted: 2011-05-13T17:28:12-07:00
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
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
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
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