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

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

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

Post 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:
Last edited by fmw42 on 2009-09-27T14:08:46-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

We're getting green for both as expected. Not sure why its failing for you. Try ImageMagick 6.5.6-6 Beta.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

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