Hi,
I am trying to upload a signature (which is in Canvas.toDataURL() format) to Azure Blob Storage. The problem I am facing is that the image I am getting is not in the form that azure accepts.
Can anyone help me with how I can convert it to the required form?
var image = element.toDataURL("image/png").replace("image/png", "image/octet-stream");
localStorage.setItem('SignatureValue',image);
window.location.href=image;
return image;
Rohit GuptaPosted Jan 8, 2023, 6:03 AM
Thanks Sachin
Sachin SinghPosted Jan 6, 2023, 6:41 AM
sir, In asp.net mvc i have done it like this
in controller