jariz / vibrant.js

Extract prominent colors from an image. JS port of Android's Palette.
http://jariz.github.io/vibrant.js/
MIT License
4.61k stars 236 forks source link

Imagem from div background #38

Closed TCB13 closed 7 years ago

TCB13 commented 7 years ago

Hello,

Is it possible to use a div background image as the source for the the image?

Thank you.

jariz commented 7 years ago

Yes, just use an image and add display: none

TCB13 commented 7 years ago

@jariz that doesn't really answer my question. I already did that.

jariz commented 7 years ago

Well in that case the answer is no.