Discover Packages
github.com/lmammino/lambda-image-colors
cmd
utils
package
Version:
v0.0.0-...-0025597
Opens a new window with list of versions in this module.
Published: Aug 5, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetProminentColors takes a Reader and a palette. It reads the image content
using the reader and identifies the prominent colors in it which are returned
as a slice of string values.
Palette defines a palette of colors.
It's essentially a map where keys are color names and values is a sequence of
3 RGB uint32 values
GetDefaultPalette returns a default palette
Source Files
¶
Click to show internal directories.
Click to hide internal directories.