/dominant-colors-xmlhttprequest-example

Dominant Colors from Image with XMLHttpRequest - no Canvas

Primary LanguageJavaScriptMIT LicenseMIT

Dominant Colors from Image with XMLHttpRequest (no Canvas) Demo

author: @loretoparisi - https://github.com/loretoparisi, https://twitter.com/loretoparisi

About

See the console to compare MMCQ dominant colors array with Canvas and with XMLHttpRequest

Disclaimer

This library uses color-thief2 - https://github.com/lokesh/color-thief/,

jpg.js - https://github.com/notmasteryet/jpgjs,

Nick Rabinowitz module for color quantization - https://gist.github.com/nrabinowitz/1104622,

based on Leptonica - http://www.leptonica.com/.

To get more info read Github jpg.js issue - notmasteryet/jpgjs#40,

Github color-thief issue - lokesh/color-thief#86,

Stackoverflow issue - http://stackoverflow.com/questions/33312362/generate-the-dominant-colors-for-an-rgb-image-with-xmlhttprequest/33792749

Original User Interface by Thomas Park's iTunes Expanding Albums - http://thomaspark.co/project/expandingalbums/