|
|
|
# jQuery.qrcode
|
|
|
|
|
|
|
|
[![web][web-img]][web] [![GitHub][github-img]][github] [![bower][bower-img]][github]
|
|
|
|
|
|
|
|
jQuery plugin to dynamically generate QR codes.
|
|
|
|
For bug reports and feature requests please use [issues][github-issues].
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
The MIT License (MIT)
|
|
|
|
|
|
|
|
Copyright (c) 2014 Lars Jung (http://larsjung.de)
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
## References
|
|
|
|
|
|
|
|
jQuery.qrcode uses [QR Code Generator][qrcode] (MIT).
|
|
|
|
|
|
|
|
|
|
|
|
[web]: http://larsjung.de/qrcode/
|
|
|
|
[github]: https://github.com/lrsjng/jquery.qrcode
|
|
|
|
[github-issues]: https://github.com/lrsjng/modulejs/issues
|
|
|
|
|
|
|
|
[web-img]: http://img.shields.io/badge/web-larsjung.de/qrcode-a0a060.svg?style=flat
|
|
|
|
[github-img]: http://img.shields.io/badge/GitHub-lrsjng/jquery.qrcode-a0a060.svg?style=flat
|
|
|
|
[bower-img]: http://img.shields.io/badge/bower-jquery.qrcode-a0a060.svg?style=flat
|
|
|
|
|
|
|
|
[qrcode]: http://www.d-project.com/qrcode/index.html
|
|
|
|
|
|
|
|
|
|
|
|
## Changelog
|
|
|
|
|
|
|
|
|
|
|
|
### v0.8.1 - *2014-08-09*
|
|
|
|
|
|
|
|
* maintenance
|
|
|
|
|
|
|
|
|
|
|
|
### v0.8.0 - *2014-07-07*
|
|
|
|
|
|
|
|
* adds bower support
|
|
|
|
|
|
|
|
|
|
|
|
### v0.7.0 - *2013-08-17*
|
|
|
|
|
|
|
|
* some fixes
|
|
|
|
* adds image support for fore- and background
|
|
|
|
* adds label and image positioning
|
|
|
|
* updates build process
|
|
|
|
|
|
|
|
|
|
|
|
### v0.6.0 - *2013-07-28*
|
|
|
|
|
|
|
|
* adds version range
|
|
|
|
* adds quiet zone
|
|
|
|
* adds optional label or image
|
|
|
|
* adds rounded corners
|
|
|
|
* adds image output
|
|
|
|
* adds demo
|
|
|
|
|
|
|
|
|
|
|
|
### v0.5.0 - *2013-07-23*
|
|
|
|
|
|
|
|
* adds option to set error correction level
|
|
|
|
|
|
|
|
|
|
|
|
### v0.4 - *2013-07-09*
|
|
|
|
|
|
|
|
* fixes missing default values in some cases
|
|
|
|
|
|
|
|
|
|
|
|
### v0.3 - *2013-06-01*
|
|
|
|
|
|
|
|
* adds option to draw on existing canvas
|
|
|
|
|
|
|
|
|
|
|
|
### v0.2 - *2012-07-02*
|
|
|
|
|
|
|
|
* now encodes up to ~2900 characters (8-bit)
|
|
|
|
|
|
|
|
|
|
|
|
### v0.1 - *2012-07-01*
|
|
|
|
|
|
|
|
* Initial release
|