outputs

package
v0.0.0-...-d43e52e Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OriginalFile

type OriginalFile struct {
	Directory string
	Size      int
}

OriginalFile ...

func (*OriginalFile) SaveAvatar

func (output *OriginalFile) SaveAvatar(avatar *avatar.Avatar) error

SaveAvatar writes the original avatar to the file system.

type WebPFile

type WebPFile struct {
	Directory string
	Size      int
	Quality   float32
}

WebPFile ...

func (*WebPFile) SaveAvatar

func (output *WebPFile) SaveAvatar(avatar *avatar.Avatar) error

SaveAvatar writes the avatar in WebP format to the file system.

Jump to

Keyboard shortcuts

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