containers

package
v0.0.0-...-06fc2c1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: Apache-2.0 Imports: 33 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownFormat      = fmt.Errorf("unknown image format")
	ErrBadResponseAvifDec = fmt.Errorf("bad response from avifdec")
	ErrBadResponseFFprobe = fmt.Errorf("bad response from ffprobe")
	ErrUnknown            = fmt.Errorf("unknown")
)

Functions

func ProcessStage1

func ProcessStage1(ctx context.Context, config *configure.Config, file string, imgType image.ImageType, aspectRatioXY [2]int) (*image.Image, error)

func ProcessStage2

func ProcessStage2(ctx context.Context, config *configure.Config, img *image.Image, sizes map[string]job.ImageSize) error

func ProcessStage3

func ProcessStage3(ctx context.Context, config *configure.Config, img *image.Image, sizes map[string]job.ImageSize, settings uint64) ([]job.File, error)

func ToType

func ToType(data []byte) (image.ImageType, error)

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