Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colorgram.extract(img_path, n) returns less than 'n' number of colors for certain images #3

Open
rishabh00100 opened this issue Aug 19, 2019 · 1 comment

Comments

@rishabh00100
Copy link

When we run colorgram.extract(img_path, n) for images like THIS for n=6, we get 2-3 colors in return

I understand that these kind of images have lesser color information, but is there any way that colorgram.extract returns exactly n number of colors for all images?

@earthbound19
Copy link

earthbound19 commented Dec 21, 2019

Similarly, if I give it an image with a grid of 199 distinct colors, and ask for 199 colors, it returns 25 colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants