Fixed: Display alpha as an integer
This commit is contained in:
parent
88f5a5a0b2
commit
e1ba107545
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