kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 282 forks source link

Make it work for canvas background #13

Closed Silex closed 10 years ago

Silex commented 10 years ago

Hello,

This plugin looks great but unfortunately it seems to only work with img or divs with background-image. Is it possible to make it work if I already have a canvas element displaying an image?

My goal is to make it work with https://github.com/sickDevelopers/jquery.kenburned

kennethcachia commented 10 years ago

Hey!

That's not supported yet. It sounds useful but it's also beyond the original scope of this plugin. I'll close this issue for the time being, but might revisit it later.