PHP Classes
elePHPant
Icontem

Sign on display: Insert a captured person signature in a PDF file

Recommend this page to a friend!
  Info   View files View files (58)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-06-09 (10 months ago) RSS 2.0 feedNot enough user ratingsTotal: 930 This week: 3All time: 3,725 This week: 281Up
Version License PHP version Categories
sign-on-display 1.0.1GNU Lesser Genera...5.0PHP 5, Graphics
Description Author

This class can insert a captured person signature in a PDF file.

It can take an uploaded image of a person signature capture on a Web page and insert it in a given PDF template document.

The signature can be captured on the user browser with provided JavaScript or Flash applet and then it is uploaded to the server.

The class uses the FPDI package to parse the template PDF document, insert the image and generate the final PDF document with the inserted signature.

Innovation Award
PHP Programming Innovation award nominee
October 2012
Number 7


Prize: One subscription to the PDF edition of the PHP Architect magazine
Nowadays, many devices provide a touch interface that allow to capture the user gestures, like for instance the user writing of is own hand signature.

This class provides a solution to insert the captured image of the user signature and insert it in a PDF document template file.

The resulting PDF document looks like as if the user has signed a printed version and it was scanned back to PDF format.

Manuel Lemos
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 18 packages by
Country: The Netherlands The Netherlands
Age: 50
All time rank: 1926 in The Netherlands The Netherlands
Week rank: 53 Up3 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 5x

Details
sign_on_display class
  Files folder image Files  
File Role Description
Files folder imagefpdf (1 file, 2 directories)
Files folder imagefpdi (6 files, 1 directory)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file flashcanvas.js Data Auxiliary data
Accessible without login Image file flashcanvas.swf Data Auxiliary data
Accessible without login Plain text file jSignature.min.js Data Auxiliary data
Accessible without login Plain text file output.pdf Data Auxiliary data
Accessible without login Plain text file output_new.pdf Data Auxiliary data
Accessible without login Plain text file README Data Auxiliary data
Plain text file signature.class.php Class Class source
Accessible without login Plain text file template.pdf Data Auxiliary data

  Files folder image Files  /  fpdf  
File Role Description
Files folder imagefont (16 files)
Files folder imagemakefont (22 files)
  Accessible without login Plain text file fpdf.php Aux. Auxiliary script

  Files folder image Files  /  fpdf  /  font  
File Role Description
  Accessible without login Plain text file courier.php Aux. Auxiliary script
  Accessible without login Plain text file courierb.php Aux. Auxiliary script
  Accessible without login Plain text file courierbi.php Aux. Auxiliary script
  Accessible without login Plain text file courieri.php Aux. Auxiliary script
  Accessible without login Plain text file Dosis-Bold.php Aux. Auxiliary script
  Accessible without login Plain text file Dosis-Regular.php Aux. Auxiliary script
  Accessible without login Plain text file helvetica.php Aux. Auxiliary script
  Accessible without login Plain text file helveticab.php Aux. Auxiliary script
  Accessible without login Plain text file helveticabi.php Aux. Auxiliary script
  Accessible without login Plain text file helveticai.php Aux. Auxiliary script
  Accessible without login Plain text file symbol.php Aux. Auxiliary script
  Accessible without login Plain text file times.php Aux. Auxiliary script
  Accessible without login Plain text file timesb.php Aux. Auxiliary script
  Accessible without login Plain text file timesbi.php Aux. Auxiliary script
  Accessible without login Plain text file timesi.php Aux. Auxiliary script
  Accessible without login Plain text file zapfdingbats.php Aux. Auxiliary script

  Files folder image Files  /  fpdf  /  makefont  
File Role Description
  Accessible without login Plain text file cp1250.map Data Auxiliary data
  Accessible without login Plain text file cp1251.map Data Auxiliary data
  Accessible without login Plain text file cp1252.map Data Auxiliary data
  Accessible without login Plain text file cp1253.map Data Auxiliary data
  Accessible without login Plain text file cp1254.map Data Auxiliary data
  Accessible without login Plain text file cp1255.map Data Auxiliary data
  Accessible without login Plain text file cp1257.map Data Auxiliary data
  Accessible without login Plain text file cp1258.map Data Auxiliary data
  Accessible without login Plain text file cp874.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-1.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-11.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-15.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-16.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-2.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-4.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-5.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-7.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-9.map Data Auxiliary data
  Accessible without login Plain text file koi8-r.map Data Auxiliary data
  Accessible without login Plain text file koi8-u.map Data Auxiliary data
  Accessible without login Plain text file makefont.php Aux. Auxiliary script
  Accessible without login Plain text file ttfparser.php Aux. Auxiliary script

  Files folder image Files  /  fpdi  
File Role Description
Files folder imagefilters (4 files)
  Plain text file fpdf_tpl.php Class Auxiliary script
  Plain text file fpdi.php Class Auxiliary script
  Plain text file fpdi2tcpdf_bridge.php Class Auxiliary script
  Plain text file fpdi_pdf_parser.php Class Auxiliary script
  Plain text file pdf_context.php Class Auxiliary script
  Plain text file pdf_parser.php Class Auxiliary script

  Files folder image Files  /  fpdi  /  filters  
File Role Description
  Plain text file FilterASCII85.php Class Auxiliary script
  Plain text file FilterASCII85_FPDI.php Class Auxiliary script
  Plain text file FilterLZW.php Class Auxiliary script
  Plain text file FilterLZW_FPDI.php Class Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:930
This week:3
All time:3,725
This week:281Up