Discover Packages
github.com/Logiraptor/palette
package
module
Version:
v0.0.0-...-3ec3ac1
Opens a new window with list of versions in this module.
Published: May 23, 2017
License: Unlicense
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Palette
Documentation
A simplified go implementation of the algorithm in the Android support Palette
class.
You can use this to create a palette of distinct colors from an arbitrary image.
go get github.com/Logiraptor/palette
Expand ▾
Collapse ▴
Documentation
¶
TextColor determines whether white or black should
be used for text against a given background
ColorCut implements the color cut image quantization algorithm
Quantize implements image/draw.Quantizer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.