Documentation
¶
Index ¶
- func AlphaMult(in image.Image, mult int) *image.NRGBA
- func DrawAlpha(in *image.NRGBA, alpha uint8)
- func DrawAlphaOver(bg *image.NRGBA, in *image.NRGBA, alpha uint8)
- func LowAlpha(in image.Image, start image.Point) int
- func LowNoAlpha(in image.Image, start image.Point, to image.Point) int
- func Parallel(start, stop int, fn func(<-chan int))
- func ParallelMap[T comparable, V any](m map[T]V, f func(key T, val V))
- func RightAlpha(in image.Image, start image.Point, to image.Point) int
- func SideOverlayTGA(overlay, base []byte) ([]byte, error)
- func WritePng(img image.Image, path string, fs *utils.MapFS) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParallelMap ¶
func ParallelMap[T comparable, V any](m map[T]V, f func(key T, val V))
func SideOverlayTGA ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.