Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoColorFound = errors.New("no color found")
ErrNoColorFound is a error
View Source
var GeneratorFlags = pflag.NewFlagSet("generate", pflag.ContinueOnError)
GeneratorFlags are the flags used for generating colors
Functions ¶
Types ¶
type Colors ¶
Colors is key and color
func GenerateFromImage ¶
GenerateFromImage colors from an image.Image
func GenerateFromPixels ¶
GenerateFromPixels generates color from a slice of pixels
Click to show internal directories.
Click to hide internal directories.