decoder |
|
|
encoder |
|
|
index.js |
There are many "versions" of QR codes, which describes how many dots appear
in the resulting image, thus limiting the amount of data that can be
represented.
The encoder used here allows for versions 1 - 10 (more dots for larger
versions).
It expects you to pick a version large enough to contain your message. Here
we search for the mimimum version based on the message length.
@param string message
Text to encode
@param string quality
Quality level: L, M, Q, H
@return integer
|
3584 |
moz.build |
|
620 |
tests |
|
|