Skip to content

Latest commit

 

History

History
executable file
·
37 lines (21 loc) · 869 Bytes

README.md

File metadata and controls

executable file
·
37 lines (21 loc) · 869 Bytes

Signature to Image

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: https://github.com/thomasjbradley/signature-pad

Copyright MMXI, Thomas J Bradley [email protected]

Versioned using Semantic Versioning http://semver.org/

Quick Start

require_once 'signature-to-image.php';

$json = $_POST['output']; // From Signature Pad
$img = sigJsonToImage($json);

imagepng($img, 'signature.png');
imagedestroy($img);

Complete Documentation

Other Solutions


License

Signature Pad is licensed under the New BSD license.