Recent Releases of https://github.com/akamhy/imagedominantcolor
https://github.com/akamhy/imagedominantcolor - v1.0.1
BugFix: The package used to break earlier for pixel values which were not tuple but int, but now the package converts all images to RGBA before accessing any pixel.
Added a new possible value of dominant_color attribute, n which infers that None of the colors out of r, g and b are dominant but the image is not grayscale. It implies that the image has equal regions where 2 or 3 colors dominate.
Added Static type checking.
Full Changelog: https://github.com/akamhy/imagedominantcolor/commits/1.0.1
- Python
Published by akamhy about 4 years ago