From a5a72ee3219e38b2c829fc02b3ccd2ff1ad1f869 Mon Sep 17 00:00:00 2001 From: Sean Wilkinson Date: Wed, 11 Dec 2013 19:30:22 -0600 Subject: [PATCH] Set `image.crossOrigin = 'Anonymous';` to avoid tainted canvas problem --- src/drawer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drawer.js b/src/drawer.js index a25e0aee..a53d0d3b 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -419,6 +419,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{ this.downloading++; image = new Image(); + image.crossOrigin = 'Anonymous'; complete = function( imagesrc, resultingImage ){ _this.downloading--;