Skip to content

Releases: akamhy/imagedominantcolor

v1.0.1

31 Jan 18:37
Compare
Choose a tag to compare
  • 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