package color_extractor
import "github.com/marekm4/color-extractor"
Index ¶
- func ExtractColors(image image.Image) []color.Color
- func ExtractColorsWithConfig(image image.Image, config Config) []color.Color
- type ByCount
- type Config
Functions ¶
func ExtractColors ¶
func ExtractColorsWithConfig ¶
Types ¶
type ByCount ¶
type ByCount []bucket
func (ByCount) Len ¶
func (ByCount) Less ¶
func (ByCount) Swap ¶
type Config ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
example |
- Version
- v1.2.0
- Published
- Feb 19, 2020
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- now –
Tools for package owners.