commit | 6eecfe38864a3596fe8fbbe400c6cb6111117d18 | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Sun Mar 22 19:42:14 2015 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Mar 22 19:42:14 2015 -0500 |
tree | 7df16019878dbd352563e85b4d124a9c311a2307 | |
parent | b383798ac9d7d320849293563e4670527750b857 [diff] |
[libpng16] Fixed simplified 8-bit-linear to sRGB alpha. The calculated alpha value was wrong. It's not clear if this affected the final stored value; in the obvious code path the upper and lower 8-bits of the alpha value were identical and the alpha was truncated to 8-bits rather than dividing by 257 (John Bowler).