qrencode解析二维条形码

qrencode是一款基于GPL授权的二维码(QR Code)编码库,支持Linux和FreeBSD操作系统。该库由C语言编写,能够将数据编码成二维码符号,并提供两种编码方式:字符串编码和结构化数据编码。
软件名称: qrencode
授权方式:GPL
操作系统:Linux,FreeBSD
软件大小:357K
最新更新:2012-04-13 22:15:26
软件简介:

http://download.chinaunix.net/download/0014000/13316.shtml

libqrencode (QRencode) 是一个用C语言编写的用来解析二维条形码(QR Code)的程序库,libqrencode通过手机的CCD摄像头来扫描二维条形码。
qrencode - QR Code encoder Copyright (C) 2006-2011 Kentaro Fukuchi <kentaro@fukuchi.org>
 
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or any later version.
 
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Libqrencode is a library for encoding data in a QR Code symbol, a kind of 2D symbology.
 
Encoding
 
There are two ways to encode data: encoding a string or encoding a structured data.
 
Encoding a string
 
You can encode a string by calling QRcode_encodeString(). The given string is parsed automatically and encoded. If you want to encode data that can be represented as a C string style (NUL terminated), you can simply use this way.
 
If the input data contains Kanji (Shift-JIS) characters and you want to encode them as Kanji in QR Code, you should give QR_MODE_KANJI as a hint. Otherwise, all of non-alphanumeric characters are encoded as 8 bit data. If you want to encode a whole string in 8 bit mode, use QRcode_encodeString8bit() instead.
 
Please note that a C string can not contain NUL character. If your data contains NUL, you should chose the second way.

相关论坛:下载频道交流区 网络安全讨论区
立即下载

qrencode-3.0.3.tar.bz2
qrencode-python-1.01.tar.gz
qrencode-3.1.0.tar.bz2
qrencode-3.1.1.tar.bz2
qrencode-3.2.0.tar.bz2
qrencode-3.3.0.tar.bz2

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值