-
Notifications
You must be signed in to change notification settings - Fork 57
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
inconsistent sampling for population by palette size #27
Comments
hey @hwaynefair , Can you link the original image here? RgbQuant doesnt do great on very low color palette sizes (< 16). You can read a bit more in #12. I'm currently on vacation, but will take a look in about a week. In the mean time, try bumping up the |
Really appreciate your timely response (well - any response at all for that matter)! FYI - my "objective" here is to "paint" the HTML canvas with around 10 colors that are not too close to one another in value - to serve as an "under-painting" on the "real" canvas on which the artist is painting.... Thanks again! |
i added this lily pond image to the demo page (i can remove it if this is a problem, btw) and i cannot get it to produce the results in your screenshot with a 10-color palette. can you test it out here and see if the results are still the same for you? http://leeoniya.github.io/RgbQuant.js/demo/ thanks! |
Leon - you are so kind to go the extra mile with me on this. I apologize for my very late response.... I failed to notice the notification on github - and have been very distracted from my art application for several weeks - |
RgbQuant is awesome!
I am using it in an application for beginning artists (painters) - reducing an image to a minimal number of colors...etc.
The strange behavior I find is that when I get a palette size of 10 - orange (in this particular case) is one of the most predominant color - and green doesn't show in the top 10 colors.
But when I get a palette size of 15 - green (which is far more visually correct) is the predominant color (by population).
Can you give me any advice on this?
Thanks so much!
The text was updated successfully, but these errors were encountered: