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

Can't get image by getSignatureImage when typein #165

Open Lumono opened 8 years ago

Lumono commented 8 years ago

Get a blank image by getSignatureImage when type it, I can see image in canvas. Draw it works as well by getSignatureImage.

Lumono commented 8 years ago

http://stackoverflow.com/questions/12328714/convert-text-to-image-using-javascript

thomasjbradley commented 8 years ago

Signature pad doesn't use <canvas> when typing your name, it just makes a <div> and uses @font-face to style the text. So there is nothing in the <canvas> when the name is typed in.

Lumono commented 8 years ago

Thanks Thomas, I got solution from http://stackoverflow.com/questions/26486560/jquery-signature-pad-get-json-output-using-typed-version

Lumono commented 8 years ago

Also I can pass image to parent page.