vkr / signature-to-image
Fork of Signature to Image by Thomas Bradley
Installs: 7 139
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 59
pkg:composer/vkr/signature-to-image
Requires
- php: >=5.6
- ext-gd: *
- ext-json: *
This package is auto-updated.
Last update: 2020-10-02 16:02:28 UTC
README
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 hey@thomasjbradley.ca
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
☛ Complete documentation
Other Solutions
☛ Other solutions
License
Signature Pad is licensed under the New BSD license.