grayscale

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Grayscale

func Grayscale(img image.Image) *image.Gray

Grayscale takes an image on any type and returns the equivalent grayscale image represented on 8 bits.

func Grayscale16

func Grayscale16(img image.Image) *image.Gray16

Grayscale16 takes an image on any type and returns the equivalent grayscale image represented on 16 bits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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