1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/modules/avatar
wxiaoguang a8fd76557b
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
2021-11-20 01:10:41 +08:00
..
identicon Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
testdata Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
avatar_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
avatar.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00