avatar

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AvatarSize = 290

AvatarSize returns avatar's size

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 default size (height and width).

func RandomImageSize

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

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

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL