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

it is difficult(not possible?) to scan qrcode with 2048bytes with fix png size 256(default setting) #39

Open
bronze1man opened this issue Jul 3, 2020 · 0 comments

Comments

@bronze1man
Copy link

bronze1man commented Jul 3, 2020

  • The tested qrcode scanner is ios13.0 and iphone11. and the png is show on a web page.
  • it is difficult(not possible?) to scan qrcode with 2048bytes with fix png size 256(default setting). I never success scan once with this setting. scale up the web is not working either.

workaround1:

  • if the pixelsPerModule is in range 1.0 and 2.0 , make it to 1.0 and compute offset to make it in the center of the png.(do not try to large scale with nearest with 1.5x, it will make one Module more like two Modules from the scanner)
  • This workaround will make it can be scaned, but a little difficult(Like the iphone must face the computer screen parallel)

workaround2:

  • if the length of content is large than 512 , make the png size to at least 512x512.
  • This workaround will make it very easy to scan.
  • ps, scan a qrcode with 2048 bytes content is slow on ios13.0, The machine may have too much work to do.
@bronze1man bronze1man changed the title it is difficult to scan qrcode with 2048bytes with fix png size 256(default setting) it is difficult(not possible?) to scan qrcode with 2048bytes with fix png size 256(default setting) Jul 3, 2020
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

1 participant