Fixed: Display alpha as an integer
This commit is contained in:
parent
4acb5a2d90
commit
402e60d448
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