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

Recommend this page to a friend!
  Info   View files (58)   Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,076 This week: 1All time: 3,424 This week: 255
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
Picture of Gianluca Zanferrari
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 18 packages by
Country: The Netherlands The Netherlands
Age: 54
All time rank: 1765 in The Netherlands The Netherlands
Week rank: 84 3 in The Netherlands The Netherlands
Innovation award
Innovation award
Nominee: 5x

Details
sign_on_display class
  Files  
File Role Description
fpdf (1 file, 2 directories)
fpdi (6 files, 1 directory)
example.php Example Example script
flashcanvas.js Data Auxiliary data
flashcanvas.swf Data Auxiliary data
jSignature.min.js Data Auxiliary data
output.pdf Data Auxiliary data
output_new.pdf Data Auxiliary data
README Data Auxiliary data
signature.class.php Class Class source
template.pdf Data Auxiliary data

  Files  /  fpdf  
File Role Description
font (16 files)
makefont (22 files)
   fpdf.php Aux. Auxiliary script

  Files  /  fpdf  /  font  
File Role Description
   courier.php Aux. Auxiliary script
   courierb.php Aux. Auxiliary script
   courierbi.php Aux. Auxiliary script
   courieri.php Aux. Auxiliary script
   Dosis-Bold.php Aux. Auxiliary script
   Dosis-Regular.php Aux. Auxiliary script
   helvetica.php Aux. Auxiliary script
   helveticab.php Aux. Auxiliary script
   helveticabi.php Aux. Auxiliary script
   helveticai.php Aux. Auxiliary script
   symbol.php Aux. Auxiliary script
   times.php Aux. Auxiliary script
   timesb.php Aux. Auxiliary script
   timesbi.php Aux. Auxiliary script
   timesi.php Aux. Auxiliary script
   zapfdingbats.php Aux. Auxiliary script

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

  Files  /  fpdi  
File Role Description
filters (4 files)
   fpdf_tpl.php Class Auxiliary script
   fpdi.php Class Auxiliary script
   fpdi2tcpdf_bridge.php Class Auxiliary script
   fpdi_pdf_parser.php Class Auxiliary script
   pdf_context.php Class Auxiliary script
   pdf_parser.php Class Auxiliary script

  Files  /  fpdi  /  filters  
File Role Description
   FilterASCII85.php Class Auxiliary script
   FilterASCII85_FPDI.php Class Auxiliary script
   FilterLZW.php Class Auxiliary script
   FilterLZW_FPDI.php Class Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,076
This week:1
All time:3,424
This week:255

For more information send a message to info at phpclasses dot org.