Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.

A supplemental script for Signature Pad that generates an image of the signature’s JSON output server-side using PHP.

Notifications You must be signed in to change notification settings

thomasjbradley/signature-to-image

Repository files navigation

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 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

Other Solutions


License

Signature Pad is licensed under the New BSD license.

About

A supplemental script for Signature Pad that generates an image of the signature’s JSON output server-side using PHP.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages