-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
something is wrong in this library. #49
Comments
Don't think it's this library, I've had the same issues using pretty much any QR Code styling library. As soon as you change the styling of a QR code even the slightest a lot of web and android based qr code scanners just don't want to scan the code. Interestingly, iOS never has any issues from my testing. |
Столкнулся с той же проблемой. Даже самый простой, совсем не измененный QR код в этой библиотеке - не сканируется. При этом в библиотеке https://kazuhikoarase.github.io/qrcode-generator/js/demo/ он сканируется очень хорошо. В БИБЛИОТЕКЕ ЕСТЬ КРИТИЧЕСКАЯ ОШИБКА! Если ее не исправить, примерно половина распространенных сканеров не смогут расшифровать эти QR-коды. Ошибка в том, что пиксели-точки развернуты не верно, они отображены зеркально и повернуты на 90 градусов, это не правильно. |
На изображении сверху 2 QR кода с одной и той же зашифрованной информацией. Слева, корректный и правильный QR-код, считывающийся всеми сканерами. Справа - QR-Code styling - с ошибкой размещения точек (окрашены бордовым цветом). Видно, что они развернуты не верно. |
@dmitrystas this can be fixed too by the following code, it needs to be fixed in both QRSVG.ts and QRCanvas.ts: WRONG: FIX: |
See fix here: https://github.com/sallandpioneers/qr-code-styling This fork will be maintained until further notice by Salland Pioneers (business). |
Hi @dmitrystas @justraman @HenkVanMaanen @randomprogramming @DewiarQR , sorry for leaving you for so long The fix was released in version v1.7.1 and above. |
this lib is dependent on https://kazuhikoarase.github.io/qrcode-generator/js/demo/.
when I create a QR there it's scannable from all devices and all QR apps.
but when I create the same QR from https://qr-code-styling.com/ without(image and styling) it's not scannable from less popular QR apps.
how this is possible?
reference app for android: https://play.google.com/store/apps/details/?id=com.mrakash.qrcodescanner
ios: Facebook app, QR scanner Pro
The text was updated successfully, but these errors were encountered: