lokesh / color-thief

Grab the color palette from an image using just Javascript. Works in the browser and in Node.
https://lokeshdhakar.com/projects/color-thief/
MIT License
12.34k stars 1.31k forks source link

Replace get-pixels with ndarray-pixels #254

Open briandonahue opened 4 months ago

briandonahue commented 4 months ago

Addresses #246. In looking into that issue, I found this comment on get-pixels. ndarray-pixels relies on sharp and has been more recently maintained.

I updated color-thief to use it instead of get-pixels and all tests are passing. Hope this helps somebody!

maiconcarraro commented 3 months ago

@lokesh plans to merge this? and is it possible to buy you a coffee or sponsor to keep this project healthy?

nathanchase commented 1 month ago

@briandonahue Is there a possibility of pushing https://github.com/briandonahue/color-thief to npm in the meantime?

briandonahue commented 1 month ago

@nathanchase I didn't end up using colorthief in production (yet). Held off on the planned feature. I'm pretty swamped and have not pushed any public NPM packages. Anyone who wants to take my fork and publish a package is welcome to, though.

maiconcarraro commented 1 month ago

I'm using https://github.com/pioug/colorsuite until I find a better replacement

jp-albrecht commented 2 weeks ago

@lokesh, any update on whether this will get merged in?