Page 1 of 1

bug still in IM 6.5.6-5 Q16 with hsl and hsb non-percent

Posted: 2009-09-27T12:56:15-07:00
by fmw42
Sorry still a problem creating color swatches using non percent values with both HSL and HSB.


For example, both of these HSL colors should make a full green image, but the second is dark blue:

convert -size 100x100 xc:"hsl(120, 100%, 50%)" show:
convert -size 100x100 xc:"hsl(120, 255, 127)" show:


Similarly for HSB:

convert -size 100x100 xc:"hsb(120, 100%, 100%)" show:
convert -size 100x100 xc:"hsb(120, 255, 255)" show:

Re: bug still in IM 6.5.6-5 Q16 with hsl and hsb non-percent

Posted: 2009-09-27T13:11:31-07:00
by magick
We're getting green for both as expected. Not sure why its failing for you. Try ImageMagick 6.5.6-6 Beta.

Re: bug still in IM 6.5.6-5 Q16 with hsl and hsb non-percent

Posted: 2009-09-27T14:08:29-07:00
by fmw42
Both sets (hsl and hsb) work fine now and both colors are the same or very close:

convert -size 100x100 xc:"hsl(120, 100%, 50%)" show:
convert -size 100x100 xc:"hsl(120, 255, 127)" show:


convert -size 100x100 xc:"hsb(120, 100%, 100%)" show:
convert -size 100x100 xc:"hsb(120, 255, 255)" show: