Skip to content

andrewgleave/color-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-extract

Extracts the dominant color palettes from a set of images and outputs them as a list of hex colors.

Supports GIF, PNG and JPEG.

Uses quant to provide both median and mean quantizers.

Default palette size is 16 and capped at 256 colors. Default quatization mode is median.

##Usage

color-extract --size=16 --mode=median /path/to/file1.png /path/to/file2.png...

About

Extract the dominant color palette from an image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages