thread-pond / signature-pad

A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration.
BSD 3-Clause "New" or "Revised" License
727 stars 292 forks source link

Converting Text Signature To An Image #187

Open dano1066 opened 7 years ago

dano1066 commented 7 years ago

I need to store an image of every signature entered in a form. I have been able to do this when a signature is entered using the canvas, but when a text based signature is used, the "output" form element is blank. How can i save a text signature to an image?

vsrboth commented 7 years ago

please use jquery to simply get the text signature into an input field.

@api = elem.signaturePad()
@api.getSignatureTypeImage("Your Text")