pnn

package
v0.0.0-...-b8e17cf Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuantiseColour

func QuantiseColour(img image.Image, m int) color.Palette

Returns a palette of "m" colours to best recreate the image from

func QuantiseGreyscale

func QuantiseGreyscale(img image.Image, m int) color.Palette

Returns "m" greyscale colours to best recreate the colour palette of the original image

Types

This section is empty.

Jump to

Keyboard shortcuts

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