package quantize

Import Path
	github.com/ericpauley/go-quantize/quantize (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files bucket.go Package quantize offers an implementation of the draw.Quantize interface using an optimized Median Cut method, including advanced functionality for fine-grained control of color priority
Package-Level Type Names (total 2)
/* sort by: | */
AggregationType specifies the type of aggregation to be done const Mean const Mode
MedianCutQuantizer implements the go draw.Quantizer interface using the Median Cut method Whether to create a transparent entry The type of aggregation to be used to find final colors The weighting function to use on each pixel Quantize quantizes an image to a palette and returns the palette MedianCutQuantizer : image/draw.Quantizer
Package-Level Constants (total 2)
Mean - weighted average all values
Mode - pick the highest priority value