4 ms·
Anatomy of a QR Code
- bigtech 15y agoI get the data structure, but is there some metadata? How does it know the contents are, say, an URL, or a vcard?
- jpulgarin 15y agoJust by the structure of the contents. Clients are supposed to parse the string contents, realize it's a URL, and open the browser for example.
- smackfu 15y agoI think it is just: store bytes and let the reader decide how to deal with them. Starts with "http", it's a URL. Starts with "BEGIN:VCARD", it's a vcard. Primitive but it works well enough I guess.
- abava 15y agoby parsing the string
- anodari 15y agoThis link (http://www.swetake.com/qr/qr2_en.html http://www.swetake.com/qr/qr2_en.html) have a detailed explanation about how data are stored
- PaulGaspardo 15y agoThe best guide to this I've seen is here: http://code.google.com/p/zxing/wiki/BarcodeContents http://code.google.com/p/zxing/wiki/BarcodeContents
- deleted 15y ago[deleted]
- zandorg 15y agoThe problem I had with QR codes is it doesn't say "QR Code" anywhere on it! I looked at the QR codes on my bathroom detergent bottles, and didn't know it was that until I read about QR codes in a newspaper.
- jonknee 15y agoA UPC-A barcode doesn't label itself as such either. They look bizarre until you see what happens with a barcode scanner and then they're easily identifiable and quite normal. It's no different with QR codes.
- orenmazor 15y agoheh. I have a moleskin I draw QR codes in by hand when I need to zone out. so far, none are readable with my phone. maybe graph paper next time.