diff options
author | Daniel Schadt <kingdread@gmx.de> | 2019-12-07 17:29:12 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2019-12-07 17:29:12 +0100 |
commit | 3522b9ee1906dc36d04ee3ef9eab99305dcac5c4 (patch) | |
tree | 8ba1e07f2ef7769d78743ae49c05ce9b05aec527 /src/cache.rs | |
parent | 17f3c1a5023ff0457299b272a608ba45875841c7 (diff) | |
download | kondou-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/cache.rs')
0 files changed, 0 insertions, 0 deletions