Set image.crossOrigin = 'Anonymous'; to avoid tainted canvas problem

This commit is contained in:
Sean Wilkinson 2013-12-11 19:30:22 -06:00
parent 86be255c6b
commit a5a72ee321

View File

@ -419,6 +419,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
this.downloading++; this.downloading++;
image = new Image(); image = new Image();
image.crossOrigin = 'Anonymous';
complete = function( imagesrc, resultingImage ){ complete = function( imagesrc, resultingImage ){
_this.downloading--; _this.downloading--;