QR_ENCODE_3.2 qrencode 二维码生成和识别
2016-04-22 17:33
357 查看
一:要生成二维码:
方案一:
sudo apt-get install qrencode方案二:
1.下载源码 http://www.oschina.net/p/libqrencode 2.下载依赖库apt-get install libpng*
apt-get install zlib*
3.配置
./configure./configure --without-tools
It also installs a binary "qrencode" to /usr/local/bin. If youwant not to
install it, give "--without-tools" option to the configure script.
4.
make
5.
make install
6.
./qrencode -V
qrencode version 3.2.0
Copyright (C) 2006-2011 Kentaro Fukuchi
7.
生成格式:qrencode -o [filename.png] '[text/url/information to encode]'
./qrencode -o baidu.png 'http://www.baidu.com'
生成二维码图片
二:识别二维码
1.安装libdecodeqr-examplesapt-getinstalllibdecodeqr-examples
2.识别二维码
libdecodeqr-simpletest<二维码图片>
比如识别之前生成的二维码图片
libdecodeqr-simpletestbaidu.png
相关文章推荐
- 站立会议第四天
- 用户命令行方式连MYSQL数据库
- debug调试
- .net 下的MVCPager
- 详解Android App中的AsyncTask异步任务执行方式
- 操蛋的Myeclipese10.1的单个文件修改编码方式
- Google 更新自己的APP 链接
- 小霸王中游戏在linux中的实现
- 安装gcc等工具示例过程
- java生成带logo的多彩二维码
- Oracle 11g笔记——表空间的体系结构
- [iOS] XCode实用快捷键
- Flask创建虚拟数据
- [改善Java代码]在明确的场景下,为集合指定初始容量
- 【Java】使用@Value @Reource或@Autowire依赖 (值) 注入时出现NPE的排查方法
- python小技巧-基于python本身
- Apache+php+花生壳搭建自己个个人网站,个人服务器
- Python爬虫入门笔记:urllib库的使用
- 零基础词云工具︱实现文本分词+在线词云实现工具
- 查看闭包函数的函数体