ColorThief
reimagined
- It's backend is written in
rust
modern_colorthief
does not support EOL python versions.
- Python 3
Here is a minimal example :
from modern_colorthief import get_color
path = ...
print(get_color(path, 10))
- from colorthief import ColorThief
+ from modern_colorthief import get_color, get_palette
image = '' # Path to a image
- ColorThief(image).get_color()
+ get_color(image)
- ColorThief(image).get_palette()
+ get_palette(image)
If you like this project add a star. If you have problems or suggestions please put them in the Issue Tracker If you like to add features. Fork this repo and submit a Pull Request. 😛
You tell me. If i have free time, I will implement it.