transform

package
v0.0.0-...-025a9a8 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTransformer

func RegisterTransformer(name string, t Transformer)

Types

type Invert

type Invert struct{}

func (Invert) Transform

func (r Invert) Transform(i image.Image) image.Image

type Rotate

type Rotate struct{}

func (Rotate) Transform

func (r Rotate) Transform(i image.Image) image.Image

type Transformer

type Transformer interface {
	Transform(image.Image) image.Image
}

func GetTransformer

func GetTransformer(name string) Transformer

Jump to

Keyboard shortcuts

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