Skip to content

TudorGruian/PythonPredominantColor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PythonPredominantColor

A script based on Pillow that extracts the predominant RGB color out of an image.

Example:

  • The example image is located in the repo. credits go to owner. $ ./predominantcolor abstract.jpg Calculating...... Predominant RGB: (24, 14, 56) enter image description here

Usage:

$ git clone https://github.com/TudorGruian/PythonPredominantColor.git
$ cd PythonPredominantColor
$ sudo pip3 install Pillow #if you don't have it installed 
$ chmod +x predominantcolor
$ ./predominantcolor
SYNTAX: ./predominantcolor <path-to-file>

About

A script based on Pillow that extracts the predominant RGB color out of an image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages