jariz / vibrant.js

Extract prominent colors from an image. JS port of Android's Palette.

Home Page:http://jariz.github.io/vibrant.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo not working in Safari or Firefox

sgwilym opened this issue · comments

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?

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

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)

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

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.