You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A QR code generated with these options:
Input text: qwerty
Error correction: 15% (M)
Mask pattern: 0
Version: 1
Character set: ISO-8859-1
when scanned by your app, the recreated code matches with the one generated with these options:
Input text: qwerty
Error correction: 15% (M)
Mask pattern: 1
Version: 1
Character set: UTF-8
Would it be possible to generate these codes the same way as the original ones?
Also, assuming you will be looking into this, it would be great if the information about the QR code (encoding, mask pattern, ...) was shown when scanning a code like it already is with the error correction level and version, and if you could specify what options to use when generating new codes.
The text was updated successfully, but these errors were encountered:
Hi, ZXingCpp, the barcode reading library Binary Eye is using, doesn't return the mask pattern at the moment, unfortunately.
It would support setting it for explicit QR Code generation (via QRWriter), but not through the generic interface for barcode generation, which is used in the app.
So currently this is not possible, unfortunately, but it may be in the future! I would also very much like to be able to re-generate the barcode exactly.
Well, shame this can't be done right now. I suspect my issue is with the character encoding specifically, but I can't verify this right now.
Apart from this specific use-case, the app has worked well. The only other problem I noticed is the flash button not working (I suppose I should mention this in the relevant issue), but these aren't huge problems, just small inconveniences.
I have noticed that the recreated QR code you see after scanning one doesn't always match with the original code.
For example:
using the QR code generator on this website: https://www.thonky.com/qrcode/
A QR code generated with these options:
![QR1](https://private-user-images.githubusercontent.com/12398451/277052350-dc4799b6-0e9b-4ae5-b8de-6264076c606a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4ODA1NDUsIm5iZiI6MTcxODg4MDI0NSwicGF0aCI6Ii8xMjM5ODQ1MS8yNzcwNTIzNTAtZGM0Nzk5YjYtMGU5Yi00YWU1LWI4ZGUtNjI2NDA3NmM2MDZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDEwNDQwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhNTk3ODQ1MjllNjc1N2EyZTgxNGE5ODZkZGY4NGExMWVmYWU2YTE4ZjQxMGY4YjExNjlhYTU3OTU0NzU2OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._sAoUc9B4czMc_aysjkJFpwlrEYyZJMNpeX76p6rKYY)
Input text: qwerty
Error correction: 15% (M)
Mask pattern: 0
Version: 1
Character set: ISO-8859-1
when scanned by your app, the recreated code matches with the one generated with these options:
![QR2](https://private-user-images.githubusercontent.com/12398451/277052383-180acc7f-0484-44c8-836d-9ed5b6a9f771.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4ODA1NDUsIm5iZiI6MTcxODg4MDI0NSwicGF0aCI6Ii8xMjM5ODQ1MS8yNzcwNTIzODMtMTgwYWNjN2YtMDQ4NC00NGM4LTgzNmQtOWVkNWI2YTlmNzcxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDEwNDQwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFkZDk3MWU3MGM1ODY2MDIyZGQ1ZmIzNDlkOTEyYTE4NDViM2ZkNjFmOTJkZjBiNWNmM2JmZmU4MWMxNjFjYjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.10brZnZ9DnZIp1XKxazSN6ZA36sQ4NfI1_lYXxz23g0)
Input text: qwerty
Error correction: 15% (M)
Mask pattern: 1
Version: 1
Character set: UTF-8
Would it be possible to generate these codes the same way as the original ones?
Also, assuming you will be looking into this, it would be great if the information about the QR code (encoding, mask pattern, ...) was shown when scanning a code like it already is with the error correction level and version, and if you could specify what options to use when generating new codes.
The text was updated successfully, but these errors were encountered: