L liulifeng77 Active Member Licensed User Longtime User Jan 14, 2017 #1 I'm planing to build a page for drawing online.(like Painter in windows). I found the js code: function convertCanvasToImage(canvas) { var image = new Image(); image.src = canvas.toDataURL("image/png"); return image; but abmcanvas or abmcanvasobject has not "toDataUrl" Method. Is there any other way ? Help is much appreciated! Last edited: Sep 21, 2017
I'm planing to build a page for drawing online.(like Painter in windows). I found the js code: function convertCanvasToImage(canvas) { var image = new Image(); image.src = canvas.toDataURL("image/png"); return image; but abmcanvas or abmcanvasobject has not "toDataUrl" Method. Is there any other way ? Help is much appreciated!