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

Unable to get image data from canvas because the canvas has been tainted by cross-origin data. #101

Open FutureMedia opened 7 years ago

FutureMedia commented 7 years ago

Unfortunately, the script does not work with images served from a different domain like a cdn. Even the examples here that should address the problem do not work.

Any suggestions?

yuchant commented 6 years ago

+1 -- this would be incredible if it works with CDNs.

Tamxaun commented 6 years ago

Yeap the cross-origin-css demo does't work, here is error in chrome: 1