Fixed: Alpha channel with 0 is correct, don't change it

This commit is contained in:
kervala 2016-01-05 12:54:47 +01:00
parent 0336b434ae
commit d910feb086

View file

@ -191,7 +191,7 @@ int main(int argc, char **argv)
{
std::cout << InputFilenames[i] << " (image with uniform alpha channel " << (sint)alpha << ")" << std::endl;
if (FixAlpha && (alpha == 0 || alpha == 255))
if (FixAlpha && alpha == 255)
{
bitmap.makeOpaque();