Sunday, 8 September 2013

#EANF#

#EANF#

I try to use google.com/chart/infographics/docs/qr_codes and goQR.me, but
neither have an "alphanumeic characteres" option, only complete binary
(UTF8 or ISO) character set. I need only a little alphanumeric
(A-Z,0-9,-,/,etc.), so a string like "http://bit.ly/1234" (a string with
length=18) can be expressed by a Version-1 (21 rows) QR-Code symbol.
Examples:
Good:
https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=http://bit.ly/12&chld=L|1
Generates a symbol of "http://bit.ly/12" (a string with length=16) with a
version-1 QR-Code. OK! The guide say "... can encode up to 25 alphanumeric
characters", so 16<25, then espected to version-1.
1.1 Bad:
https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=http://bit.ly/12&chld=M|1
(change L to M), generates a version-2 (25 rows) symbol.
1.2 Bad:
https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=http://bit.ly/1234&chld=L|1
(change length from 16 to 18), generates a version-2 (25 rows) symbol.

No comments:

Post a Comment