Open rikapo opened 4 years ago
Hello,
According to the API document, getPalette() function is supposed to return an array containing colors, but in fact, also returns null. (src/color-thief-node.js line 87)
It would be great if getPallete() uses reject() or returns an empty array instead of returning null. or API document informs about the possibility of returning null.
Best regards.
Hello,
According to the API document, getPalette() function is supposed to return an array containing colors, but in fact, also returns null. (src/color-thief-node.js line 87)
It would be great if getPallete() uses reject() or returns an empty array instead of returning null. or API document informs about the possibility of returning null.
Best regards.