score:13

Maybe later, but I solved using PNG image:

var newCanvasImg = newCanvas.toDataURL("image/png", 1.0);

Hope this helps.


Related Query

More Query from same tag