{"id":467,"date":"2009-06-18T00:10:02","date_gmt":"2009-06-17T13:10:02","guid":{"rendered":"http:\/\/www.madox.net\/blog\/?p=467"},"modified":"2009-06-18T00:10:02","modified_gmt":"2009-06-17T13:10:02","slug":"a-little-bit-of-qr-code-colour-loving","status":"publish","type":"post","link":"http:\/\/www.madox.net\/blog\/2009\/06\/18\/a-little-bit-of-qr-code-colour-loving\/","title":{"rendered":"A little bit of QR Code Colour Loving"},"content":{"rendered":"<figure id=\"attachment_468\" aria-describedby=\"caption-attachment-468\" style=\"width: 375px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2009\/06\/madoxnetqr.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-468\" title=\"madoxnetqr\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2009\/06\/madoxnetqr.png\" alt=\"Go on, use your QR Reader on this :)\" width=\"375\" height=\"375\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2009\/06\/madoxnetqr.png 375w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2009\/06\/madoxnetqr-150x150.png 150w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2009\/06\/madoxnetqr-300x300.png 300w\" sizes=\"auto, (max-width: 375px) 85vw, 375px\" \/><\/a><figcaption id=\"caption-attachment-468\" class=\"wp-caption-text\">Go on, use your QR Reader on this \ud83d\ude42<\/figcaption><\/figure>\n<p>Yes, that is &#8220;Colour&#8221; not &#8220;Color&#8221; for all your Americans out there! \ud83d\ude42<\/p>\n<p><!--more--><a href=\"http:\/\/en.wikipedia.org\/wiki\/QR_Code\" target=\"_blank\">QR Code<\/a> is one of the more widespread\/popular 2D barcodes out there.\u00a0 Sure there are others that are used commercially in airline\/train ticketing, but none wide as much &#8216;reader&#8217; support in the form of mobile phones and software.\u00a0 Almost all phones in Japan are able to read QR Code, add to that Nokias and various WinMo apps.\u00a0 Not to mention the wonderful <a href=\"http:\/\/code.google.com\/p\/zxing\/\" target=\"_blank\">ZXing<\/a> open-source app that&#8217;ll work on any mobile that supports Java or Android.<\/p>\n<p>One of the beautiful things about QR Code is that it can tolerate errors in the code.\u00a0 Depending on the encoding used, up to 30% of data can be lost and the full content can still be retrieved.<\/p>\n<p>I caught onto QR Code a few years back but the ZXing Android app reminded me of this wonderful piece of technology.\u00a0 A little curious, I thought I&#8217;ll add a bit of colour to the otherwise dull and boring black\/white QR Code.\u00a0 Others have noted that if you have enough contrast between foreground and background, most readers will still recognise the code &#8211; but lets make every block a different colour!\u00a0 Yup, it still works!\u00a0 Its a lot more prettier and fancier, but a thing to note is that you should still use colours that are a high contrast to the background.\u00a0 I guess I could have used a pale yellow instead of a white background to add more&#8230;but that&#8217;ll be just over doing it.<\/p>\n<p>Have a play with QR Code.\u00a0 There are numerous generators online if you do a search, here is the <a href=\"http:\/\/zxing.appspot.com\/generator\" target=\"_blank\">ZXing Generator link<\/a>.<\/p>\n<p><em>(Anyone want to write an extension to a generator to make random colour QR codes?)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, that is &#8220;Colour&#8221; not &#8220;Color&#8221; for all your Americans out there! \ud83d\ude42<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16],"tags":[37,8,9],"class_list":["post-467","post","type-post","status-publish","format-standard","hentry","category-engineering","category-software-tips-tricks","tag-android","tag-free-software","tag-perverted-engineering"],"_links":{"self":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts\/467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":1,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts\/467\/revisions"}],"predecessor-version":[{"id":469,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts\/467\/revisions\/469"}],"wp:attachment":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/media?parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/categories?post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/tags?post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}