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!
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: