package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Packages

# Functions

HashAvatar will generate a unique string, which ensures that when there's a different unique ID while the data is the same, it will generate a different output.
ProcessAvatarImage process the avatar image data, crop and resize it if necessary.
RandomImage generates and returns a random avatar image unique to input data in default size (height and width).
RandomImageSize generates and returns a random avatar image unique to input data in custom size (height and width).

# Constants

DefaultAvatarSize is the target CSS pixel size for avatar generation.