Fixed: Display alpha as an integer
--HG-- branch : develop
This commit is contained in:
parent
958ccb9b58
commit
0c98a86e4b
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
if (hasAlpha && bitmap.isAlphaUniform(&alpha))
|
if (hasAlpha && bitmap.isAlphaUniform(&alpha))
|
||||||
{
|
{
|
||||||
std::cout << InputFilenames[i] << " (image with uniform alpha channel " << alpha << ")" << std::endl;
|
std::cout << InputFilenames[i] << " (image with uniform alpha channel " << (sint)alpha << ")" << std::endl;
|
||||||
|
|
||||||
if (FixAlpha && (alpha == 0 || alpha == 255))
|
if (FixAlpha && (alpha == 0 || alpha == 255))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue