I am recently started working on canvas , but i am stuck here I have to convert canvas into base64 without using canvas2html? How to do that
Asked
Active
Viewed 48 times
1 Answers
0
This should do it:
var canvas = document.getElementById("canvas"),
dataURL = canvas.toDataURL();

theharls
- 163
- 7