internal

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlphaMult

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

func DrawAlpha

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

func DrawAlphaOver

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

func LowAlpha

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

func LowNoAlpha

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

func Parallel

func Parallel(start, stop int, fn func(<-chan int))

func ParallelMap

func ParallelMap[T comparable, V any](m map[T]V, f func(key T, val V))

func RightAlpha

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
⌂ 换网址