Closed shahriarhossain closed 1 year ago
I am able to store the signature by calling the toDataURL() method. signaturePad.current.toDataURL(); But it comes with a background!
How do I only capture the pen stroke with transparent background?
Here is what the frontend looks like:
After saving the data in the backend, this is what I am getting:
Solved!
I am able to store the signature by calling the toDataURL() method. signaturePad.current.toDataURL(); But it comes with a background!
How do I only capture the pen stroke with transparent background?
Here is what the frontend looks like:
After saving the data in the backend, this is what I am getting: