Skip to content

Commit 9b5ee0e

Browse files
authored
Merge pull request #53 from david476/master
Documentation clarification for matrix output.
2 parents 56ce14d + 39ae70c commit 9b5ee0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ then in the html files:
5959
* `qr.image(text, [ec_level | options])` — Readable stream with image data;
6060
* `qr.imageSync(text, [ec_level | options])` — string with image data. (Buffer for `png`);
6161
* `qr.svgObject(text, [ec_level | options])` — object with SVG path and size;
62-
* `qr.matrix(text, [ec_level])` — 2D array.
62+
* `qr.matrix(text, [ec_level])` — 2D array of booleans. __Y__ is indexed first (e.g. `[y][x]` NOT `[x][y]`), `[0][0]` is the top left, and `true` means black.
6363

6464

6565
### Options

0 commit comments

Comments
 (0)