From: john@roojs.com Date: Mon, 31 Dec 2018 06:01:32 +0000 (+0800) Subject: FIX: image quality param X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=160ec323b38243aebc6e9f230e935e825f73e583 FIX: image quality param --- diff --git a/Roo/bootstrap/BezierSignature.js b/Roo/bootstrap/BezierSignature.js index 2eabfc47e1..808e2c8f2b 100644 --- a/Roo/bootstrap/BezierSignature.js +++ b/Roo/bootstrap/BezierSignature.js @@ -409,7 +409,7 @@ Roo.extend(Roo.bootstrap.BezierSignature, Roo.bootstrap.Component, { } // encryption ? - return this.canvasEl().dom.toDataURL('image/'+type, false); + return this.canvasEl().dom.toDataURL('image/'+type, 1); }, drawFromImage: function(img_src) diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index abe9740f2b..5422f3a407 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -41911,7 +41911,7 @@ Roo.extend(Roo.bootstrap.BezierSignature, Roo.bootstrap.Component, { } // encryption ? - return this.canvasEl().dom.toDataURL('image/'+type, false); + return this.canvasEl().dom.toDataURL('image/'+type, 1); }, drawFromImage: function(img_src) diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index d6568cbeb4..6665fa1e0f 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -1749,7 +1749,7 @@ C.beginPath();this.drawCurveSegment(B.x,B.y,D);C.closePath();C.fillStyle=A;C.fil i