snibgo, the format listed for HSB and HSL show hue in degrees and the other values in percent. See https://imagemagick.org/script/color.php. U expect that it should be the same syntax for HSV. Also, it should be the same for input and output. It works fine for HSB, for example, which should be the same as HSV.
HSB:
# ImageMagick pixel enumeration: 1,1,65535,hsb
0,0: (43690,65535,65535) #AAAAFFFFFFFF hsb(240,100%,100%)
# ImageMagick pixel enumeration: 1,1,65535,srgb
0,0: (0,0,65535) #00000000FFFF blue
HSV:
# ImageMagick pixel enumeration: 1,1,65535,hsv
0,0: (43690,65535,65535) #AAAAFFFFFFFF hsv(240,100%,100%)
# ImageMagick pixel enumeration: 1,1,65535,hsv
0,0: (65535,65535,65535) #FFFFFFFFFFFF hsv(360,100%,100%)
I suspect that HSV is not supported as input. Probably the same for HCL and HSI.
HSB:
Code:
convert xc:blue -colorspace HSB txt:
0,0: (43690,65535,65535) #AAAAFFFFFFFF hsb(240,100%,100%)
Code:
convert xc:"hsb(240,100%,100%)" txt:
0,0: (0,0,65535) #00000000FFFF blue
HSV:
Code:
convert xc:blue -colorspace HSV txt:
0,0: (43690,65535,65535) #AAAAFFFFFFFF hsv(240,100%,100%)
Code:
convert xc:"hsv(240,100%,100%)" txt:
0,0: (65535,65535,65535) #FFFFFFFFFFFF hsv(360,100%,100%)
I suspect that HSV is not supported as input. Probably the same for HCL and HSI.
Statistics: Posted by fmw42 — 2019-10-14T15:03:42-07:00