get-image-colors
get-image-colors copied to clipboard
Extract colors from GIF, PNG, JPG, and SVG images
as of right now, this package is adding 5 severe vulnerabilities to my project, itd be nice if the dependencies were updated :)

example: count: 7 => return 7colors count: 8 => return 7 colors count: 30 => return 29 colors
- Change code style from [StandardJS](https://standardjs.com/) to [Prettier](https://prettier.io/)-like style. - Format all the code. - Use [ESLint](https://eslint.org/) for linting JavaScript code. - Add `package-lock.json` file to `.gitignore`. - Refactor code...
See: https://github.com/advisories/GHSA-w7q9-p3jq-fmhm get-image-colors depends on `get-pixels` with range `^3.3.2`, which depends on `jpeg-js` with range `^0.3.2`, which has the vulnerability in the advisory above. Please remove this deep dependency on...
I was trying to fetch colours of images that are more than 4 mb (aprox). The library gets stuck and does not respond. We finally have to restart the server...
Hey guys thanks for this great repo. I created a docker image for this project. https://hub.docker.com/repository/docker/thebakers/get-image-colors I makes using the project a lot easier. The only comment you need to...
I wanted to let you know that for values of count greater than 7, the actual number of colors returned is one fewer than the requested count. I added tests...
I need to get dominant color for specific image (or color frequency). For example, Color Thief can do it. Is it possible with `get-image-colors`? Thanks