How to create QR code images


A QR code is a modern bar code. It can store information in 2 dimensions which is better that the tradition bar codes. A QR code can store text, URL or other data.

One of the reasons that QR codes became more popular lately is due to the growing number of smartphones. Smartphone users can downloaded free QR code scanner apps for their phones. These scanner apps make browsing a web page very convenient. Smartphone users can scan the QR code of a URL and avoid typing the URL of that web page. Typing a long URL on a smart phone can be an unpleasant experience.

The image above is an example of the QR code of our corporate website, it21inc.com.

There are several tools you can use to create QR code image. My favorite one is Google Chart Tools: Infographics. You can get the image of a QR code generated on the fly by this Google API.

Here is the URL of the QR code image of it21inc.com, to get Google Chart to generate the image:

https://chart.googleapis.com/chart?cht=qr&chs=150×150&chl=http://www.it21inc.com

There are three parts in this image’s URL

  • First part: ask Google chart to draw QR code image https://chart.googleapis.com/chart?cht=qr
  • Second part:  specify the size of the image, (150×150 in this example)
    &chs=150×150
  • Third part: specify the content to be store in this image; (in this example, it is http://www.it21inc.com ) &chl=http://www.it21inc.com
  • These three parts are required. Other parts can be added relate to error correction and output encoding

Please read more about the syntax at http://code.google.com/apis/chart/infographics/docs/qr_codes.html#overview

Suggested links to read about QR code

About IT21inc
We provide web design services, website development services and SEO services. Our company is more than 10 year old. Read more about us.