effects

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAll

func ApplyAll(img image.Image) (image.Image, int, error)

func Flags

func Flags(flags []cli.Flag) []cli.Flag

func HasEffects

func HasEffects() bool

func Register

func Register(e Effect)

Types

type Effect

type Effect interface {
	String() string
	Apply(image.Image, string) (image.Image, error)
}

type EffectConfig

type EffectConfig struct {
	Effect    Effect
	Arguments string
}

func Parse

func Parse() ([]EffectConfig, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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