feedback on fix of reporting hsl colors with txt IM 6.4.1-9

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

feedback on fix of reporting hsl colors with txt IM 6.4.1-9

Post by fmw42 »

This seems to be working now.

convert -size 1x1 xc:"hsl(180,50%,50%)" txt:-
# ImageMagick pixel enumeration: 1,1,65535,rgb
0,0: (16384,49151,49151) #4000BFFFBFFF rgb(25.0004%,74.9996%,74.9996%)


gives the correct rgb colors at 25%,75%,75%

Also

convert -size 1x1 xc:"hsla(180,50%,50%,0)" txt:-
# ImageMagick pixel enumeration: 1,1,65535,rgba
0,0: (16384,49151,49151,65535) #4000BFFFBFFF0000 rgba(25.0004%,74.9996%,74.9996%,0)

is reporting rgba correctly at 25%,75%,75%,0


Thanks
Post Reply