the text EPSTEINDIDNTKILLHIMSELF fits just inside the capacity of the smallest ("version 1") QR code, 21x21 pixels. (adding spaces between the words, or adding an apostrophe in DIDNT, would increase the size to 25x25, "version 2".) below is the 21x21 bitmap of pixels as text: 1 = black, 0 = white (background).
111111100010101111111
100000101011001000001
101110100100001011101
101110101100101011101
101110100010001011101
100000101110001000001
111111101010101111111
000000000010100000000
111110111101110101010
110010000001010100011
101100110101010110011
111101000101000010100
001110111011100001101
000000001111011010101
111111101111001100001
100000100100110010011
101110101110110100001
101110101001001100100
101110101000110010000
100000101111011100101
111111101110101100000
the image below is the same as the bitmap text above, but with a 4 pixel quiet margin then magnified by 3x.
increasing error correction to level H increases the size to 29x29, and it doesn't matter if we add spaces and an apostrophe, so we do:
11111110001011000011101111111
10000010100111111110001000001
10111010100101011111101011101
10111010100000100010001011101
10111010100001110011001011101
10000010111111001110001000001
11111110101010101010101111111
00000000011101010101000000000
00100111110010110101110111110
00111000101000110100001100111
00111110000100100101110011000
00110101000000011110001101100
10010010011000000001101001010
11111101010001011010010100111
00011110110101010001110011001
11010000110011001100000000001
10101010001110000000111100110
00100101001010010111110101001
11001111011100011000010100111
00100000000000000100011100101
11101110111000110000111110101
00000000110101101110100010001
11111110100000111001101011000
10000010110000010010100010100
10111010010011110101111111011
10111010011101101110010011100
10111010101101011010011111011
10000010011001011100100010001
11111110001101010110000110011
future work: 8 possible mask patterns.
No comments :
Post a Comment