grayscale

package
v0.0.0-...-55700be Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 3 Imported by: 0

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