1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-03 14:57:55 -05:00
gitea/modules/avatar
wxiaoguang a8fd76557b
Better builtin avatar generator ()
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 
3. Fix a small padding error in the algorithm
2021-11-20 01:10:41 +08:00
..
identicon Better builtin avatar generator () 2021-11-20 01:10:41 +08:00
testdata Improve handling of non-square avatars () 2019-05-25 14:46:14 +03:00
avatar_test.go refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
avatar.go Better builtin avatar generator () 2021-11-20 01:10:41 +08:00