Help us shape the future of Go! Take the 2026 Go Developer Survey

avatar

package
v0.9.97 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AVATAR_SIZE = 290

Variables

This section is empty.

Functions

func RandomImage added in v0.6.5

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 added in v0.8.43

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

RandomImage 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