Would using a really large order polynomial be any more help? For example a 10th order best fit?
Gradify turns the most prominent colors in an image into a CSS gradient
21–30 of 37 posts
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#22Do you have permissions to use those images? https://m.flickr.com/#/photos/lightofthewild/5611692322/ The left margin is broken on Chrome on iOS. http://m.imgur.com/94fzJrc The scrolling behaviour make the page impossible to use. The scrolling, and I say this as politely as I can, is fucking horrible and makes me want to smash my phone to little pieces. Sorry for the negative tone. The actual thing looks cool. It'd b…
Wow, you're quite right - there's no attribution on any of the photos. Also, since they're re-hosted onto tumblr it's hard to tell where they came from.
It's possible that the author may have taken all of the photos themself, but unlikely given the example which you've pointed out. It's also possible that the author has sought private permission to use the photos, but you'd probably expect some attribution if that were the case.
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#23Re: Gradify turns the most prominent colors in an image into a CSS gradient
#24Is the author of this around? There's a rather prominent spelling mistake in the first sentence; it says "prominant" where it should say "prominent" :)
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#25http://www.instructables.com/id/Gradients-in-MIcrosoft-Paint...
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#26maybe it would be better to weight pixels by the energy density of the image region so that backgrounds (sky, walls) don't dominate the resultant colors over the (usually more significant) foreground/detailed objects
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#27> the 4 most common colors maybe it would be better to weight pixels by the energy density of the image region so that backgrounds (sky, walls) don't dominate the resultant colors over the (usually more significant) foreground/detailed objects
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#28Re: Gradify turns the most prominent colors in an image into a CSS gradient
#29You could blur the image as well. I have tried a similar approach with blur quite awhile ago: http://www.cssdesk.com/VYN67 Change the image URI to see it work on another image.
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#30You could blur the image as well. I have tried a similar approach with blur quite awhile ago: http://www.cssdesk.com/VYN67 Change the image URI to see it work on another image.
The point with this method is that the gradient acts as a fill before the image is loaded.