-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI option for mask pattern #192
Comments
I think the default mask for this lib is 101 (cf. https://blog.qartis.com/decoding-small-qr-codes-by-hand/photos/thumbnails/qr-mask.png) |
Also looking for that option. Some online tools expose the mask choice but would be so handy to have it in a standard tool. Thanks! |
I tried to generate several QR codes with
Screenshots from QRazyBox |
I suggest adding a command-line option to
qrencode
that lets the user decide on the mask pattern used for the generated QR code.Use-case is the digital replication and further processing (print) of a QR code given in analogue form (on paper). It is easy to read the information encoded in a given QR code and then re-generate a new QR code. Though, both QR code generators may decide on different mask patterns leading to visually different QR codes. For whatever reasons this can happen anyway, as long as you have no control over the software generating the original QR code, there's no other way to prevent this than to choose the mask pattern manually (which can be read-off a QR code manually).
While, in many settings, different QR codes encoding the same information are not much of a problem, things get a bit more complicated when a QR code is used as an official document (containing signed data) given out by administration or some other "official" institution. Referring to an "obviously fake" QR code may put you in a legally weak position, if parties are not able or willing to check validity of your QR code.
Thank you for considering this. And thank you for the qrencode software!
The text was updated successfully, but these errors were encountered: