Jake Palmer

Results 4 comments of Jake Palmer

get-rgba-palette, which this module depends on, has a function palette.bins, which returns the relative percentage of each color. It would seem possible to use this to sort the colors returned...

I've created Mocha tests (in #10 ) that show this change is a significant improvement. The quantize function will return the exact color count requested for all values of maximumColorCount....

I created Mocha tests for the quantize function, asserting that the format of all returned palettes is valid, for a variety of inputs. For each of the tests below, I...

After testing AlfredJKwack's change from #6 , I've seen that it returns the exact count of colors requested for all input values between 2 and 256! I've replaced my partial...