Create your own electronic signature In an enhanced example of a technique that works well - combining an AS 3 PNG encoder, an open-source utility, the Apache Batik project, and of course, ColdFusion 8, you can create your very own electronic signature.
The electronic signature you create, by dragging your mouse across the signature canvas to, in effect, sign your 'John Hancock', works like this:
-
The signature drawing is passed as binary data to a ColdFusion CFC function that saves the PNG to the ColdFusion server's file system.
-
Next, leveraging an open source tool, KVEC, the PNG, created in
step one, is passed to another CFC function that converts the PNG to a SVG file.
-
Next, the SVG is passed to a CFC function that completes the final conversion
to a PDF file, using the Apache Batik project's batik-rasterizer.jar.
-
Next, leveraging the ColdFusion 8 <cfzip> tag, a CFC function creates a zip archive of the PNG, the SVG, and the PDF files of the signature just created.
-
Finally, to save on disk space, a final CFC function is called to delete the PNG and SVG files (once the PDF and zip archive are safely created).
Create your personal signature
Tip Jar:
|