3.1.1 • Published 7 years ago

paletty v3.1.1

Weekly downloads
16
License
MIT
Repository
github
Last release
7 years ago

paletty

Generate a color palette of a fixed size from an image

Installation

Install it globally with the following command:

npm install -g paletty

API

getPalette(pathToImage, size) ⇒ Promise.<Array.<Array.<Number>>>

Generates a color palette from the image at the given path.

Kind: global function
Returns: Promise.<Array.<Array.<Number>>> - Promise of array of RGB colors

ParamTypeDescription
pathToImagestringpath to image on file system
sizenumberdetermines the number of colors that will be returned
3.1.1

7 years ago

3.1.0

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago