tester

package
v0.0.0-...-14c2223 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(p Palette) error

Types

type Palette

type Palette interface {
	// Select returns 8bpc R,G,B values for a given byte value
	Select(b byte) rgb
	// Nearest returns the byte value corresponding to the approximate color
	Nearest(c color.Color) byte
}

Jump to

Keyboard shortcuts

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