quantizers

package
v0.0.0-...-3b24cdd Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: BSL-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HierarhicalQuantizer

type HierarhicalQuantizer struct{}

func (HierarhicalQuantizer) QuantizeImage

func (HierarhicalQuantizer) QuantizeImage(img image.Image, count int) (color.Palette, error)

type NearestNeighborQuantizer

type NearestNeighborQuantizer struct{}

func (NearestNeighborQuantizer) QuantizeImage

func (NearestNeighborQuantizer) QuantizeImage(img image.Image, numColors int) ([]color.Color, error)

Jump to

Keyboard shortcuts

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