mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-11 20:04:46 +00:00
Fixed: Alpha channel with 0 is correct, don't change it
This commit is contained in:
parent
9d1d6f8770
commit
bdda1bd03e
1 changed files with 3 additions and 3 deletions
|
@ -191,7 +191,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
std::cout << InputFilenames[i] << " (image with uniform alpha channel " << (sint)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 == 255)
|
||||||
{
|
{
|
||||||
bitmap.makeOpaque();
|
bitmap.makeOpaque();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue