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

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-05 12:54:47 +01:00
parent 9f761780f1
commit dc5ddadcbb

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();