rescale

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAlgorithms

func GetAlgorithms() []string

func ParseAlgorithm

func ParseAlgorithm(alg string) (imaging.ResampleFilter, bool)

func Rescale

func Rescale(in []byte, scale int, opts RescaleOptions) ([]byte, error)

func RescaleRaw

func RescaleRaw(in *utils.MapFS, scale int, opts RescaleOptions) error

Types

type RescaleOptions

type RescaleOptions struct {
	ShowCredits bool
	Algorithm   imaging.ResampleFilter
}

Jump to

Keyboard shortcuts

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