Documentation ¶
Overview ¶
Package colorbot provides image analysis routines to determine the dominant colors in images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrImageTooLarge is returned when the image is too large to be processed. ErrImageTooLarge = errors.New("image is too large") )
Functions ¶
func DecodeImage ¶
DecodeImage decodes the given reader as either a GIF, JPEG, or PNG image.
If the image is larger than maxBytes or maxPixels, it returns ErrImageTooLarge.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/soniakeys/quant
Quant provides an interface for image color quantizers.
|
Quant provides an interface for image color quantizers. |
_workspace/src/github.com/soniakeys/quant/mean
Mean is a simple color quantizer.
|
Mean is a simple color quantizer. |
_workspace/src/github.com/soniakeys/quant/median
Median implements basic median cut color quantization.
|
Median implements basic median cut color quantization. |
cmd
|
|
colorbot
Command colorbot analyzes a given image and prints out a list of the N most dominant colors in the image.
|
Command colorbot analyzes a given image and prints out a list of the N most dominant colors in the image. |
Click to show internal directories.
Click to hide internal directories.