possible bug -channel a or [mean] string format
Posted: 2014-04-30T15:34:18-07:00
IM 6.8.9.0 Q16 Mac OSX.
The following is, if not a bug, at least very confusing
If I run the following command, I get a zero result indicating that the alpha channel is perfectly transparent as expected.
If I run these two commands, I get a non-zero result, in fact, the largest possible value indicating that it is reporting the opacity and not the alpha channel.
I though all references to -channel A were now transparency and not opacity. Please clarify.
This appears to be a bug, since I get NAN for the result
The following is, if not a bug, at least very confusing
If I run the following command, I get a zero result indicating that the alpha channel is perfectly transparent as expected.
Code: Select all
convert rose: -alpha transparent -channel a -separate -scale 1x1! -format "%[fx:u]\n" info:
0
If I run these two commands, I get a non-zero result, in fact, the largest possible value indicating that it is reporting the opacity and not the alpha channel.
Code: Select all
convert rose: -alpha transparent -channel a -format "%[mean]\n" info:
65535
convert rose: -alpha set -channel a -evaluate set 0 -format "%[mean]\n" info:
65535
I though all references to -channel A were now transparency and not opacity. Please clarify.
This appears to be a bug, since I get NAN for the result
Code: Select all
convert rose: -alpha transparent -channel a -separate -format "%[mean]\n" info:
nan