grayscale

package module
v0.0.0-...-8770549 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 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