internal

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlphaMult added in v0.7.4

func AlphaMult(in image.Image, mult int) *image.NRGBA

func DrawAlpha added in v0.7.9

func DrawAlpha(in *image.NRGBA, alpha uint8)

func DrawAlphaOver added in v0.7.9

func DrawAlphaOver(bg *image.NRGBA, in *image.NRGBA, alpha uint8)

func LowAlpha added in v0.7.11

func LowAlpha(in image.Image, start image.Point) int

func LowNoAlpha added in v0.7.11

func LowNoAlpha(in image.Image, start image.Point, to image.Point) int

func RightAlpha added in v0.7.11

func RightAlpha(in image.Image, start image.Point, to image.Point) int

func SideOverlayTGA

func SideOverlayTGA(overlay, base []byte) ([]byte, error)

func WritePng

func WritePng(img image.Image, path string, fs *utils.MapFS) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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