colorfinder

package
v3.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 13 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