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:
bug still in IM 6.5.6-5 Q16 with hsl and hsb non-percent
- 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
Last edited by fmw42 on 2009-09-27T14:08:46-07:00, edited 1 time in total.
Re: bug still in IM 6.5.6-5 Q16 with hsl and hsb non-percent
We're getting green for both as expected. Not sure why its failing for you. Try ImageMagick 6.5.6-6 Beta.
- 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
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:
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: