fengsp / color-thief-py

Grabs the dominant color or a representative color palette from an image. Uses Python and Pillow.
http://lokeshdhakar.com/projects/color-thief/
Other
1.04k stars 125 forks source link

Add option for providing PIL Image directly. #6

Closed nat-henderson closed 6 years ago

nat-henderson commented 6 years ago

Constructor could accept a PIL image directly - odds are good that someone using this is going to be doing more image operations than just this, and given that, user probably has a PIL image sitting around already.