Signature to Image: A supplemental script for Signature Pad that generates an image of the signature’s JSON output server-side using PHP.
Signature Pad: http://thomasjbradley.ca/lab/signature-pad
Copyright MMXI, Thomas J Bradley hey@thomasjbradley.ca
Versioned using Semantic Versioning http://semver.org/
require_once 'signature-to-image.php';
$json = $_POST['output']; // From Signature Pad
$img = sigJsonToImage($json);
imagepng($img, 'signature.png');
imagedestroy($img);
http://thomasjbradley.ca/lab/signature-to-image
http://thomasjbradley.ca/lab/signature-to-image/#othersolutions
http://github.com/thomasjbradley/signature-to-image
Signature Pad is licensed under the New BSD license.