possible bug HSL to RGB IM 6.6.9.8 Q16

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug HSL to RGB IM 6.6.9.8 Q16

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug HSL to RGB IM 6.6.9.8 Q16

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug HSL to RGB IM 6.6.9.8 Q16

Post 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
Post Reply