imgutils

package
v0.0.0-...-9dd255e Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: CC-BY-4.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BWClamp

func BWClamp(img *image.Gray, cutoff uint8)

BWClamp converts a greyscale image to black and white based on a specific cutoff

func CopyYCbCr

func CopyYCbCr(i image.YCbCr) *image.YCbCr

CopyYCbCr returns a deep copy of i

This is useful when the backing slice needs to be copied

func GreyYCbR

func GreyYCbR(img *image.YCbCr)

GreyYCbR zeros the Cb and Cr channel of a YCbCr image

func NewGIF

func NewGIF(images []image.Image) *gif.GIF

func RGBA

func RGBA(src *image.YCbCr) *image.RGBA

Types

This section is empty.

Jump to

Keyboard shortcuts

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