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
730 stars 290 forks source link

need help on editing a saved drawing [signaturepad] #155

Open rvliex opened 9 years ago

rvliex commented 9 years ago

Hi,

I'm fiddling around with regenerating a drawing and edit it and finally saving it back to the database. I can draw the image, save it to a database, save it as a png file but when I try to regenerate it, it stays blanc.

Here's my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Drawing ```
 
```
thomasjbradley commented 9 years ago

Where's the Javascript code to regenerate the signature?