imagegen

package module
v0.0.0-...-a503e97 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

README

Aero-imagegen

Image generation API for Aero written in Go.

Running

$ docker build -t imagegen .
$ docker run -p <HOST_PORT>:3001 imagegen

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Color

func Color(color color.RGBA) image.Image

func DominantColor

func DominantColor(img image.Image) (string, error)

func ParseHexColor

func ParseHexColor(s string) (c color.RGBA, err error)

func Profile

func Profile(avatarURL, bannerURL, username, description, birthday, location, occupation, status, bioURL string, gender int) image.Image

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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