forgejo/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
avatar.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
avatar_test.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00