michaeldzjap / react-signature-pad-wrapper

A React wrapper for signature pad
MIT License
199 stars 27 forks source link

Store the signature without any background #54

Closed shahriarhossain closed 1 year ago

shahriarhossain commented 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: image

After saving the data in the backend, this is what I am getting: signature

shahriarhossain commented 1 year ago

Solved!