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

Demo not working in Safari or Firefox #21

Closed sgwilym closed 6 years ago

sgwilym commented 9 years ago

Trying out vibrant.js in the jsfiddle on the webpage fails, returning the follow error: /TypeError: cmap.vboxes is undefined

Edit: just noticed the disclaimer regarding image dropping only working in Chrome. Why is this the case?

randohinn commented 7 years ago

And also doesn't work with Chrome, but that gives an error like #37.

mcgraphix commented 7 years ago

Chome on Mac Sierra gives this error when dropping an image on the demo at http://jariz.github.io/vibrant.js/:

Uncaught TypeError: Cannot read property 'map' of undefined
    at new Vibrant (http://cdn.rawgit.com/jariz/vibrant.js/master/dist/Vibrant.js:43:35)
    at FileReader.progress (coffeescript:24:19)
kjellouli commented 7 years ago

Same error here.. Do you have any news about this issue ?

akfish commented 6 years ago

vibrant.js is deprecated. Please try node-vibrant instead and see if this issue persists. You are welcome to submit an issue there if that's the case.