diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2021-11-20 01:10:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 01:10:41 +0800 |
commit | a8fd76557b9c878d5765382c02ee15202d1857f9 (patch) | |
tree | a3863134791b2cb70eae3a48dcb7013d9285d891 /modules/convert/pull_test.go | |
parent | 38347aa16f7cfb32bb984ade4518bd311d0aff12 (diff) | |
download | gitea-a8fd76557b9c878d5765382c02ee15202d1857f9.tar.gz gitea-a8fd76557b9c878d5765382c02ee15202d1857f9.zip |
Better builtin avatar generator (#17707)
This PR fixes the builtin avatar generator.
1. The random background color makes some images very dirty. So now we only use white background for avatars.
2. We use left-right mirror avatars to satisfy #14799
3. Fix a small padding error in the algorithm
Diffstat (limited to 'modules/convert/pull_test.go')
0 files changed, 0 insertions, 0 deletions