png: do alpha pre-multiplication manually
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Something's up with libpng's alpha-mode... it's required to get proper alpha (transparency) on some images, but at the same time, that breaks other images (they are rendered way too dark). Doing the pre-multiplication manually seems to handle all images correctly.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 4190965 · Browse files · 2 files+30 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+30 added−1 removed
- other:+30 added−1 removed