aboutsummaryrefslogtreecommitdiff
path: root/src/api/skills.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-07 17:29:12 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-07 17:29:12 +0100
commit3522b9ee1906dc36d04ee3ef9eab99305dcac5c4 (patch)
tree8ba1e07f2ef7769d78743ae49c05ce9b05aec527 /src/api/skills.rs
parent17f3c1a5023ff0457299b272a608ba45875841c7 (diff)
downloadkondou-3522b9ee1906dc36d04ee3ef9eab99305dcac5c4.tar.gz
kondou-3522b9ee1906dc36d04ee3ef9eab99305dcac5c4.tar.bz2
kondou-3522b9ee1906dc36d04ee3ef9eab99305dcac5c4.zip
improve grayscale rendering
Apparently, turning the picture to grayscale also messes with the alpha channel. A lot of trait icons have a small transparent border though. Therefore, we want to preserve the alpha channel by copying it back from the original trait icon. This improves render quality and removes some of the artifacts.
Diffstat (limited to 'src/api/skills.rs')
0 files changed, 0 insertions, 0 deletions