Analyse and compare images with Javascript and HTML5. [Resemble.js Demo](http://huddle.github.com/Resemble.js/)
Analyse and compare images with Javascript and HTML5. [Resemble.js More info & Demo](http://huddle.github.com/Resemble.js/). If you need NodeJS support, take a look at [node-resemble](https://github.com/ddo/node-resemble)

@ -71,7 +71,8 @@ resemble.outputSettings({
},
errorType: 'movement',
transparency: 0.3,
largeImageThreshold: 1200
largeImageThreshold: 1200,
useCrossOrigin: false
});
// resembleControl.repaint();
```
@ -80,6 +81,9 @@ By default, the comparison algorithm skips pixels when the image width or height
You can switch this modify this behaviour by setting the `largeImageThreshold` option to a different value. Set it to **0** to switch it off completely.
`useCrossOrigin` is true by default, you might need to set to false if you're using [Data URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).
--------------------------------------
Created by [James Cryer](http://github.com/jamescryer) and the Huddle development team.