avatar

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSize = 290

Variables

This section is empty.

Functions

func RandomImage

func RandomImage(data []byte) (image.Image, error)

RandomImage generates and returns a random avatar image unique to input data in DefaultSize (height and width).

func RandomImageWithSize added in v0.13.0

func RandomImageWithSize(size int, data []byte) (image.Image, error)

RandomImageWithSize generates and returns a random avatar image unique to input data in custom size (height and width).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL