Skip to content

Commit

Permalink
Merge pull request google#55 from JayXon/FirstEncounteredTransparentP…
Browse files Browse the repository at this point in the history
…ixel

Fix RGB value of first encountered transparent pixel
  • Loading branch information
lvandeve committed May 13, 2015
2 parents f221cb1 + aabe8c3 commit e17d185
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zopflipng/zopflipng_lib.cc
Expand Up @@ -133,6 +133,7 @@ void LossyOptimizeTransparent(lodepng::State* inputstate, unsigned char* image,
r = image[i * 4 + 0];
g = image[i * 4 + 1];
b = image[i * 4 + 2];
break;
}
}
}
Expand Down

0 comments on commit e17d185

Please sign in to comment.