Quantcast
Channel: Legacy ImageMagick Discussions Archive
Viewing all articles
Browse latest Browse all 8

Bugs • Re: Issue with color conversion IM 6.9.10.68 Q16 Mac OSX

$
0
0
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:

Code:

convert xc:blue -colorspace HSB txt:
# ImageMagick pixel enumeration: 1,1,65535,hsb
0,0: (43690,65535,65535) #AAAAFFFFFFFF hsb(240,100%,100%)

Code:

convert xc:"hsb(240,100%,100%)" txt:
# ImageMagick pixel enumeration: 1,1,65535,srgb
0,0: (0,0,65535) #00000000FFFF blue


HSV:

Code:

convert xc:blue -colorspace HSV txt:
# ImageMagick pixel enumeration: 1,1,65535,hsv
0,0: (43690,65535,65535) #AAAAFFFFFFFF hsv(240,100%,100%)

Code:

convert xc:"hsv(240,100%,100%)" txt:
# 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.

Statistics: Posted by fmw42 — 2019-10-14T15:03:42-07:00



Viewing all articles
Browse latest Browse all 8

Trending Articles