Replies: 1 comment 2 replies
-
Can you provide the actual code so we can reproduce it. A data url is not the same as a regular url. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using fromDataURL function passing the string that I received from the toDataURL function and I receive ERR_INVALID_URL. First why is it called fromDataURL when clearly in the exeample you are not passing an URL and second why am I doing wrong, here is my code:
var signaturePad = new SignaturePad(canvas, {
backgroundColor: 'rgb(250,250,250)'
});
signaturePad.fromDataURL("data:image/png;base64,iVBORw0KGgoA...)
thanks!
Beta Was this translation helpful? Give feedback.
All reactions