download   home


jeremy.deyoung@lunarfly.com's Gravatar   Jeremy DeYoung Nov 15, 2011 at 4:04 PM May 24, 2012 at 5:15 AM 1.1 3 Plugins 313 32

QR Code Generator & Wrapper

Custom QR Generator & Service Wrapper for goodSurvey API & Google Charts API

Description

Custom QR Generator & Service Wrapper for goodSurvey API & Google Charts API.
The custom QR generator uses ZXing's Library which is included in the download. It builds the QR Data using the ZXing Library however it uses ColdFusion Image functions to build the actual QR Code Image.
Currently, you can export out the images to any support ColdFusion support image format. My next release will include EPS & PDF support as well.

<cfscript>
getPlugin("qrGenerator"true).generateBarcode(imagePath = getDirectoryFromPath(expandPath('./')) & "images/", size=20, padding=1, imageName="myQRCode.png");
writeoutput("<img src='/images/myQRCode.png'>");
</cfscript>

Let me know if there are any issues with Adobe ColdFusion as I have not yet tested it.

Installation Instructions

Make sure to have all the JAR files included in the zip in the same directory as your plugin.
Currently, this has only been tested on Railo 3.3 so please let me know if there is issues with Adobe CF.

Also I have tested it with ColdBox 3.5Beta and will continue to update the code accordingly if anything changes.

Changelog

#1.1 - Initial Submission.