diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2024-04-18 15:58:56 +0200 |
---|---|---|
committer | Daniel Eklöf <daniel@ekloef.se> | 2024-04-18 15:58:56 +0200 |
commit | 76e8e219743ff75288a30c93c301c17ba3f18c46 (patch) | |
tree | 1e877f031d0bb9499ed6ccb35ec031070242d657 /svg.h | |
parent | d3c647694ac30fc8df6fb58dd1c2968f88ce1a4f (diff) | |
download | wbg-76e8e219743ff75288a30c93c301c17ba3f18c46.tar.gz |
png: do alpha pre-multiplication manually
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.
Diffstat (limited to 'svg.h')
0 files changed, 0 insertions, 0 deletions