avatarreencode

package
v0.0.0-...-b2296ca Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MaxSize int = 512

The size max of an avatar image.

Variables

View Source
var (
	ImageNoType      = errors.New("No Content-Type HTTP header")
	ImageTypeUnknown = errors.New("Image unknown media type")
)

Functions

func Reencode

func Reencode(in io.Reader, t string) ([]byte, error)

Reencode the avatar of an user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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