feedback on graya bug fix in IM 6.4.1-8
Posted: 2008-06-15T14:02:01-07:00
The fix for graya(100%,0.5) does indeed now work.
However, I am still puzzled by change in the alpha in the rgba color specification with what is shown in the verbose info. It appears to be changed to 1-a in the verbose info. Is this intended? Seems confusing even though the correct image is generated.
convert -size 100x100 xc:"rgba(100%,100%,100%,0)" white_rgba0.png
convert white_rgba0.png -verbose info:
Colorspace: Gray
Depth: 16/1-bit
Channel depth:
gray: 1-bit
alpha: 1-bit
Channel statistics:
gray:
min: 1 (1)
max: 1 (1)
mean: 1 (1)
standard deviation: -0 (-0)
alpha:
min: 1 (1)
max: 1 (1)
mean: 1 (1)
standard deviation: -0 (-0)
Alpha: rgba(255,255,255,1) #FFFFFFFFFFFF0000
This last line above for Alpha is just opposite of what it should be reported as an rgba opaque color. It implies a fully transparent color according to the link at the top.
Note: similar alpha inversion (1-a) is also being reported when using txt:-
convert -size 1x1 xc:"rgba(100%,100%,100%,0)" txt:-
# ImageMagick pixel enumeration: 1,1,65535,rgba
0,0: (65535,65535,65535,65535) #FFFFFFFFFFFF0000 rgba(255,255,255,1)
However, I am still puzzled by change in the alpha in the rgba color specification with what is shown in the verbose info. It appears to be changed to 1-a in the verbose info. Is this intended? Seems confusing even though the correct image is generated.
convert -size 100x100 xc:"rgba(100%,100%,100%,0)" white_rgba0.png
convert white_rgba0.png -verbose info:
Colorspace: Gray
Depth: 16/1-bit
Channel depth:
gray: 1-bit
alpha: 1-bit
Channel statistics:
gray:
min: 1 (1)
max: 1 (1)
mean: 1 (1)
standard deviation: -0 (-0)
alpha:
min: 1 (1)
max: 1 (1)
mean: 1 (1)
standard deviation: -0 (-0)
Alpha: rgba(255,255,255,1) #FFFFFFFFFFFF0000
This last line above for Alpha is just opposite of what it should be reported as an rgba opaque color. It implies a fully transparent color according to the link at the top.
Note: similar alpha inversion (1-a) is also being reported when using txt:-
convert -size 1x1 xc:"rgba(100%,100%,100%,0)" txt:-
# ImageMagick pixel enumeration: 1,1,65535,rgba
0,0: (65535,65535,65535,65535) #FFFFFFFFFFFF0000 rgba(255,255,255,1)