File size: 4,647 Bytes
de7cd1e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
 "about": "What the page checks before it uses the details a PNG file can carry about how it was made, in one text chunk keyed qr-made, and the settings and tables those checks use, each with its source. Your browser reads the details, checks them against the code’s reading and removes them before the picture is sent: the server never sees them.",
 "version": "2026-11-16",
 "record": {
  "keyword": "qr-made",
  "form": 1,
  "max_chunks": 1000,
  "max_chunk_bytes": 8192,
  "max_depth": 3,
  "source": "the record’s own limits: one text chunk keyed qr-made of at most 8,192 bytes, keyword included, holding JSON nested no deeper than the record itself (the record, its code, and the code’s box or grid); records’ JSON measured 482 to 964 bytes, and one at version 40 with every field 5,731. A record is read only from a file of at most 1,000 chunks, the most ancillary chunks libpng 1.6.58 keeps from one file (its default chunk-cache limit, its guard against crafted files); a file that carries a record has four, and the most in any PNG tested here was 61. Every chunk keyed qr-made is removed before sending, however many chunks the file has."
 },
 "names": {
  "max_code_points": 40,
  "source": "a control name is shown only as plain text of at most 40 code points, once control, bidirectional and format characters are removed and white space collapsed; every reviewed name is shorter"
 },
 "checks": {
  "box_squares": 1,
  "ppm_share": 0.1,
  "squares_share": 0.25,
  "margin_cap": 4,
  "source": "chosen: the code’s box, or a cell of its grid, within 1 square of where the reading found it; its pixels per square within 10% of the reading’s; at most a quarter of its squares read the other way, comparing the code mirrored too; the margin compared up to the margin check’s cap of 4 squares, only for a single code whose art leaves its margin alone and only where the margin check measured the code at margin_min_ppm or more (sizes.json). On the 163 test files whose codes zxing-cpp reads, the largest differences were 0.13 squares, 1.0% and 3.6%, and every margin compared was equal"
 },
 "dots": {
  "small_below": 0.4,
  "source": "the measurement’s dots ladder, on version 3 codes with solid corner patterns: Apple’s, Google’s and Huawei’s scanners each read at least 75 of 80 down to dots four tenths of a square wide, and 48 to 71 at three tenths; ZXing, as in Android’s Settings app, read 70 of 80 already at nine tenths"
 },
 "standard": {
  "format": [21522, 20773, 24188, 23371, 17913, 16590, 20375, 19104, 30660, 29427, 32170, 30877, 26159, 25368, 27713, 26998, 5769, 5054, 7399, 6608, 1890, 597, 3340, 2107, 13663, 12392, 16177, 14854, 9396, 8579, 11994, 11245],
  "format_ec": {"L": 1, "M": 0, "Q": 3, "H": 2},
  "version": {"7": 31892, "8": 34236, "9": 39577, "10": 42195, "11": 48118, "12": 51042, "13": 55367, "14": 58893, "15": 63784, "16": 68472, "17": 70749, "18": 76311, "19": 79154, "20": 84390, "21": 87683, "22": 92361, "23": 96236, "24": 102084, "25": 102881, "26": 110507, "27": 110734, "28": 117786, "29": 119615, "30": 126325, "31": 127568, "32": 133589, "33": 136944, "34": 141498, "35": 145311, "36": 150283, "37": 152622, "38": 158308, "39": 161089, "40": 167017},
  "alignment": {"2": [6, 18], "3": [6, 22], "4": [6, 26], "5": [6, 30], "6": [6, 34], "7": [6, 22, 38], "8": [6, 24, 42], "9": [6, 26, 46], "10": [6, 28, 50], "11": [6, 30, 54], "12": [6, 32, 58], "13": [6, 34, 62], "14": [6, 26, 46, 66], "15": [6, 26, 48, 70], "16": [6, 26, 50, 74], "17": [6, 30, 54, 78], "18": [6, 30, 56, 82], "19": [6, 30, 58, 86], "20": [6, 34, 62, 90], "21": [6, 28, 50, 72, 94], "22": [6, 26, 50, 74, 98], "23": [6, 30, 54, 78, 102], "24": [6, 28, 54, 80, 106], "25": [6, 32, 58, 84, 110], "26": [6, 30, 58, 86, 114], "27": [6, 34, 62, 90, 118], "28": [6, 26, 50, 74, 98, 122], "29": [6, 30, 54, 78, 102, 126], "30": [6, 26, 52, 78, 104, 130], "31": [6, 30, 56, 82, 108, 134], "32": [6, 34, 60, 86, 112, 138], "33": [6, 30, 58, 86, 114, 142], "34": [6, 34, 62, 90, 118, 146], "35": [6, 30, 54, 78, 102, 126, 150], "36": [6, 24, 50, 76, 102, 128, 154], "37": [6, 28, 54, 80, 106, 132, 158], "38": [6, 32, 58, 84, 110, 136, 162], "39": [6, 26, 54, 82, 110, 138, 166], "40": [6, 30, 58, 86, 114, 142, 170]},
  "source": "ISO/IEC 18004: the 32 format codewords, indexed by the error correction’s two bits (L 1, M 0, Q 3, H 2) then the mask (Annex C, BCH(15,5) with generator 0x537 and mask 0x5412); the version codewords of versions 7 to 40 (Annex D, BCH(18,6) with generator 0x1F25); and the alignment patterns’ centres, in squares from the top-left, by version (Annex E, Table E.1)"
 }
}