image

package
v0.0.0-...-5ed85c2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAsRGBA

func LoadAsRGBA(file string, op Op) (rgba *image.RGBA, err error)

func LoadImage

func LoadImage(filePath string) (image.Image, error)

func Rotate90CCW

func Rotate90CCW(src image.Image) image.Image

func SaveImage

func SaveImage(filePath string, img image.Image) error

Types

type Op

type Op int
const (
	OpOriginally Op = iota
	OpFlipVertically
	OpFlipHorizontally
	OpFlipVerticallyHorizontally
)

Jump to

Keyboard shortcuts

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