SyntaxFix
Write A Post
Hire A Developer
Questions
Short answer:
const base64Canvas = canvas.toDataURL("image/jpeg").split(';base64,')[1];