mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-04 06:13:31 +03:00
Set image.crossOrigin = 'Anonymous';
to avoid tainted canvas problem
This commit is contained in:
parent
86be255c6b
commit
a5a72ee321
1 changed files with 1 additions and 0 deletions
|
@ -419,6 +419,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
|
|||
this.downloading++;
|
||||
|
||||
image = new Image();
|
||||
image.crossOrigin = 'Anonymous';
|
||||
|
||||
complete = function( imagesrc, resultingImage ){
|
||||
_this.downloading--;
|
||||
|
|
Loading…
Add table
Reference in a new issue