transformer

package
v0.0.0-...-920b96e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFileNotSupported = errors.New("file not supported")

Functions

This section is empty.

Types

type TransformInterface

type TransformInterface interface {
	FillCenter(source []byte, width, height int) ([]byte, error)
	IsSupported(source []byte) bool
}

func NewJpeg

func NewJpeg() TransformInterface

func NewPng

func NewPng() TransformInterface

func NewStack

func NewStack() TransformInterface

func NewStackBy

func NewStackBy(transforms ...TransformInterface) TransformInterface

Jump to

Keyboard shortcuts

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