Skip to content
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

createqr generates unrecognizable code for decodeqr #1

Open
Gotbitsa opened this issue Oct 9, 2021 · 2 comments
Open

createqr generates unrecognizable code for decodeqr #1

Gotbitsa opened this issue Oct 9, 2021 · 2 comments

Comments

@Gotbitsa
Copy link

Gotbitsa commented Oct 9, 2021

The HC1 prefixes of your sample images do not result in the same image as the corresponding sample images and can not be read by decodeqr.

@jumpjack
Copy link
Owner

jumpjack commented Oct 9, 2021

Sorry, I didn't specify that I am not the author of the qrdecode part, try opening an issue here:

https://github.com/klonikar/qrcodejs

Test data are instead taken from here:

https://github.com/eu-digital-green-certificates/dgc-testdata/tree/main/IT

@jumpjack
Copy link
Owner

jumpjack commented Oct 9, 2021

Anyway you are right, createqr.html creats an invalid QR code for any QR reader:

image

Weird thing is that the recreated valid QR code is completely different, and simpler, than the original, but it contains exactly same data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants