摘要
二维码技术被广泛应用,但是生成技术繁多,不易选择.针对这个问题,本文主要研究了两种二维码生成方法,并通过具体代码实现.对于二维码一般性需求,可以直接使用jquery-qrcode,快捷方便,但是jquery-qrcode存在依赖于浏览器、暂不支持中文等问题.对于需要在二维码中添加Logo图片、彩色二维码等需求,可以使用Google公司提供的ZXing库来实现,该方法存在一定难度,需要编写的代码较多.
This paper studies the two-dimensional code generation methods, and Coding. It can be used directly jquery-qrcode for the demand for a general two-dimensional code, fast and convenient, but jquery-qrcode existence depends on the browser and does not support Chinese and other issues. For the two-dimensional code with Logo and the color two-dimensional code and other needs, you can use Google provided ZXing library to implement this method there is a certain degree of difficulty, the code you need to write more.
出处
《玉林师范学院学报》
2014年第5期118-122,139,共6页
Journal of Yulin Normal University
基金
2013年度玉林师范学院校级资助项目"基于面向对象思想的汉字结构研"
编号:2013YJYB02
2014年度广西高校科学技术研究资助项目"多媒体保密通信中的混沌同步控制技术与密码算法研究"
编号:YB2014316
关键词
二维码
Logo二维码
彩色二维码
two-dimensional code
two-dimensional code with Logo
color two-dimensional code