Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the spec for formatting data in QR codes? I can not find it anywhere

I'm specifically asking if, and what, is the specification for formatting the text inside a QR code - not how to generate a code (which I can do).

I need to put hCard data into a QR code, however I don't know how to mark the QR code as VCF data (versus URL, text, etc) so the decoder knows what to do.

All the info I've seen online has to do with generating the QR code, not formatting the data inside.

like image 970
Jonathan Vanasco Avatar asked Sep 14 '10 16:09

Jonathan Vanasco


People also ask

Where is data stored in QR codes?

The grey part in Figure 11 represents the data area. The data area is encoded into the binary numbers of '0' and '1' based on the encoding rule. The binary numbers of '0' and '1' are converted into black and white cells and then arranged.

Are QR codes different formats?

There are 40 versions of the conventional QR code. Each version has a different number of data modules. Data modules are the black and white squares that make up a QR code. The higher the QR code version, the more data modules there are.

Can data in QR Code be changed?

Yes, as long as the original QR Code is Dynamic. You can update all aspects of Dynamic QR Codes, including the short URL, any content on your landing page or even the type of QR Code used, which is basically the same as “redirecting” the QR Code to a new function.


2 Answers

There is no official specification for this -- the QR code spec does not say anything about the contents. Everything I know about the commonly-used and de facto formats and conventions is summarized in this wiki: https://github.com/zxing/zxing/wiki/Barcode-Contents

like image 86
Sean Owen Avatar answered Oct 11 '22 11:10

Sean Owen


Who says you have to pay for this info? just go to this page http://qrcodenet.codeplex.com/ and scroll to the bottom REFERENCES section and you should find a free download like tited 4. ISO/IEC 18004:2006(E) - QR code specification ISOIEC 18004_2006Cor 1_2009.pdf

like image 41
Joseph Gomez Avatar answered Oct 11 '22 11:10

Joseph Gomez