This repository has been archived on 2024-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/modules/avatar/identicon
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
..
testdata Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
block.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
colors.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
identicon.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
identicon_test.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00
polygon.go Better builtin avatar generator (#17707) 2021-11-20 01:10:41 +08:00