color-thief-py icon indicating copy to clipboard operation
color-thief-py copied to clipboard

Question: comparison with haishoku

Open Lucas-C opened this issue 2 years ago • 1 comments

Another Python library provides the same functionality: haishoku.

However both libs do not return the same palette:

palette

The first line of colored circles is the palette from colorthief, the second line is the palette from haishoku.

Why do they differ so much?

( Source image: doom slayer by tis1451 - CC BY-SA 3.0 )

Lucas-C avatar Mar 27 '22 10:03 Lucas-C

This is a good example (or test) image as it shows limitations in both approaches. See also https://github.com/LanceGin/haishoku/issues/12

Wolf-SO avatar Feb 04 '23 13:02 Wolf-SO