Canvas2Image.saveAsPNG(帆布)质量

时间:2015-11-16 16:52:16

标签: html2canvas

当我使用Canvas2Image.saveAsPNG时,质量很差。

 html2canvas($("#surface"), {
                onrendered: function(canvas) {
                theCanvas = canvas;
                document.body.appendChild(canvas);

                // Convert and download as image 
                Canvas2Image.saveAsPNG(canvas);
                $("#img-out").append(canvas);

enter image description here

enter image description here

0 个答案:

没有答案