colorfinder

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorToHex

func ColorToHex(c color.RGBA) string

Types

type ColorFinder

type ColorFinder struct {
	// contains filtered or unexported fields
}

func (*ColorFinder) FindMainColor

func (cf *ColorFinder) FindMainColor(img image.Image) (color.RGBA, error)

FindMainColor tries to identify the most important color in the given logo.

Jump to

Keyboard shortcuts

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