Versions in this module Expand all Collapse all v1 v1.0.0 Sep 14, 2021 Changes in this version + type Entry struct + Color color.Color + Weight float64 + type Palette struct + func Extract(k, maxIterations int, img image.Image) (*Palette, error) + func (p *Palette) Colors() []color.Color + func (p *Palette) Converged() bool + func (p *Palette) Count() int + func (p *Palette) Entries() []Entry + func (p *Palette) Iterations() int + func (p *Palette) Weight(c color.Color) float64