diff --git a/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js b/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js index 3a44bc3..9acca44 100644 --- a/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js +++ b/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js @@ -2855,8 +2855,16 @@ _html2canvas.Renderer.Canvas = function(options) { newCanvas.width = Math.ceil(bounds.width); newCanvas.height = Math.ceil(bounds.height); ctx = newCanvas.getContext("2d"); - - ctx.drawImage(canvas, bounds.left, bounds.top, bounds.width, bounds.height, 0, 0, bounds.width, bounds.height); + if (/*@cc_on!@*/false || !!document.documentMode) { + + var imgData = canvas.getContext("2d").getImageData(bounds.left, bounds.top, bounds.width, bounds.height); + ctx.putImageData(imgData, 50, 0); + } + else { + + ctx.drawImage(canvas, bounds.left, bounds.top, bounds.width, bounds.height, 0, 0, bounds.width, bounds.height); + } + canvas = null; return newCanvas; }