possible bug in -fx and alpha component IM 6.6.6.3
Posted: 2010-12-05T15:14:55-07:00
IM 6.6.6.3 Q16 (hdri) Mac OSX Tiger.
This seems like a bug to me, but perhaps I misunderstand how -fx handles the alpha channel.
convert -size 1x1 xc:"rgb(0,0,128,0.5)" -channel rgba -alpha on -format "%[fx:1-u.a]" info:
0
Seems to me that I should get 0.5.
Also both of these seems give the same result of 1.
convert -size 1x1 xc:"rgb(0,0,128,0)" -channel rgba -alpha on -format "%[fx:u.a]" info:
1
convert -size 1x1 xc:"rgb(0,0,128,1)" -channel rgba -alpha on -format "%[fx:u.a]" info:
1
Am I misunderstanding how -fx uses the alpha channel?
This seems like a bug to me, but perhaps I misunderstand how -fx handles the alpha channel.
convert -size 1x1 xc:"rgb(0,0,128,0.5)" -channel rgba -alpha on -format "%[fx:1-u.a]" info:
0
Seems to me that I should get 0.5.
Also both of these seems give the same result of 1.
convert -size 1x1 xc:"rgb(0,0,128,0)" -channel rgba -alpha on -format "%[fx:u.a]" info:
1
convert -size 1x1 xc:"rgb(0,0,128,1)" -channel rgba -alpha on -format "%[fx:u.a]" info:
1
Am I misunderstanding how -fx uses the alpha channel?