Do 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…
> Do you have permissions to use those images? 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 yo…
Gradify turns the most prominent colors in an image into a CSS gradient
31–37 of 37 posts
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#32Really nice effect - I can see this being used on galleries / profiles, etc. What is with the weird scroll behaviour on this page, though? It will refuse to stay where I put it and keeps jumping to odd snap points after a few seconds. Annoying.
The hostile scrolling on the page makes it effectively unusable on mobile
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#33Great idea! Found a bug - it doesn't follow the "orientation" property of the image, resulting in photos and gradients that are rotated. I don't do Python myself, but using PerlMagick, the fix is $magick->AutoOrient();
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#34Re: Gradify turns the most prominent colors in an image into a CSS gradient
#35You 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.
Progressive JPEG with a blur filter depending on how much has loaded yet?
That would be the best solution, probably.
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#36Earlier quoted context omitted.
The point with this method is that the gradient acts as a fill before the image is loaded.
Which one could combine with blurring. Progressive JPEG with a blur filter depending on how much has loaded yet? That would be the best solution, probably.
Re: Gradify turns the most prominent colors in an image into a CSS gradient
#37Earlier quoted context omitted.
> Do you have permissions to use those images? 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 yo…
I think it would fall under fair use. This is a demo for an open source project.