手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表Tag:qrcode

Google QR Code 的说明

GoogleQRCode的介绍很久没有出现在网上了,直接从chart页过去找也很麻烦,而且还经常 找不到。

在这里贴个链接:https://developers.google.com/chart/infographics/docs/qr_codes

再来个简单的说明,生成QRCode真的很简单(以前也写过博客介绍过,其实我这次只是想贴个链接而已),上一次是: google QRCode,在之前还有一篇:QR CODE,看文中的链接已经变了,原文中说的:https://code.google.com/apis/chart/docs/gallery/qr_codes.html,已经是404了。。。

用法很简单:

1、接口地址:https://chart.googleapis.com/chart?

2、几个参数:

Parameter Required or Optional Description
cht=qr Required Specifies a QR code.
chs=<width>x<height> Required Image size.
chl=<data> Required The data to encode. Data can be digits (0-9), alphanumeric characters, binary bytes of data, or Kanji. You cannot mix data types within a QR code. The data must be UTF-8 URL-encoded. Note that URLs have a 2K maximum length, so if you want to encode more than 2K bytes (minus the other URL characters), you will have to send your data using POST.
choe=<output_encoding> Optional How to encode the data in the QR code. Here are the available values:
  • UTF-8 [Default]
  • Shift_JIS
  • ISO-8859-1
chld=<error_correction_level>|<margin> Optional
  • error_correction_level - QR codes support four levels of error correction to enable recovery of missing, misread, or obscured data. Greater redundancy is achieved at the cost of being able to store less data. See the appendix for details. Here are the supported values:
    • L - [Default] Allows recovery of up to 7% data loss
    • M - Allows recovery of up to 15% data loss
    • Q - Allows recovery of up to 25% data loss
    • H - Allows recovery of up to 30% data loss
  • margin - The width of the white border around the data portion of the code. This is in rows, not in pixels. (See below to learn what rows are in a QR code.) The default value is 4.

 是不是很简单?

Tags: google, qrcode

google QRCode

套用一句多年前博客中的一句话:以前,我说过有关于QR CODE的博客(QR CODE),也推荐了google的开源工具,事实上我的每篇博客右侧也都生成了二维码。

嗯,其实Google官方有QR Code generate的网站,不过它是appspot的,所以,基于众所周知的原因,它就打不开了。不过,还有一个办法利用google自带的QR Code生成器生成QR Code的。

打开igoogle,添加QR Code Generate的widget:http://www.google.com/ig/adde?moduleurl=www.mobile-barcodes.com/widget/google-gadget.xml

然后在igoogle的页面中就多了这么一块:
大小: 4.92 K
尺寸: 257 x 376
浏览: 1474 次
点击打开新窗口浏览全图
试试看,是不是很HIGH?

Tags: qrcode, 二维码

URL to Barcode

以前,我说过有关于QR CODE的博客(QR CODE),也推荐了google的开源工具,事实上我的每篇博客右侧也都生成了二维码。

我这里是介绍的别人的文章 ,来自于:http://www.mikespook.com/index.php/archives/793

每当我使用PC上网的时候,总是有一些链接我想分享到手机里。Barcode 2D 正合适做这件事情。所以,你看到了这个“URL to Barcode”。这个简陋的网站帮你将 URL 转换为 Barcode。

使用

  • 输入URL;
  • 点击“生成 BARCODE”按钮;
  • 获取到 BARCODE;
  • 使用手机上的条码扫描程序扫描;
  • 使用手机里的浏览器打开 URL。

致谢

Barcode 是由 PHP QR Code 生成的。

在 Android 平台,Barcode Scanner 是非常棒的扫描软件。它给了我很多帮助!

在 iOS 平台,我并不清楚哪个软件更好。这个文章可能会给你一些帮助:5 个最好的 Barcode iPhone 应用(英文)

 

When I’m using PC browsing the Internet. There will always be some URLs, that I want to share to my mobile. The barcode 2d should be the right thing. So, now you see this “URL to Barcode”. This is a simple site that provides a URL conversion Barcode services.

Usage

  • Input the url;
  • Press “Make BARCODE”;
  • Get the BARCODE;
  • Scan it with the scaner software in your mobile;
  • Open the url with the browser in your mobile.

Acknowledgements

The barcode was made by PHP QR Code

In the Android, here is a great barcode scaner: Barcode Scanner. It helps me much more!

In the iOS, I don’t konw which software is better. This article should gives you some help: 5 Best Barcode iPhone Applications.

Tags: url, barcode, qrcode, 二维码