/blendit

Simple script to get the "average" color of a image

Primary LanguagePythonMIT LicenseMIT

blendit

Simple script to get the "average" color of a image

[The more I get to know about PIL, the more this script seems useless]

Usage

As a module

import blendit

rgb1, rgb2 = blendit.calculate("/path/to/image/") # returns a tuple containing 2 hex values

blendit.show_images(rgb1, rgb2) # shows image form of both hex values

As a CLI

blendit filename

blendit --show filename