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

Optimize payload #10

Open
OverkillGuy opened this issue Mar 8, 2021 · 0 comments
Open

Optimize payload #10

OverkillGuy opened this issue Mar 8, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@OverkillGuy
Copy link
Owner

OverkillGuy commented Mar 8, 2021

There are multiple improvements to make to payloads to reduce the number of chunks to scan, and possibly generate codes faster too.

  • Avoid base64 encoding by using binary-mode QR codes, removing the 34% overhead.
  • Bigger payload size, increasing QR codes size (called "version" in QR code jargon) up to "version 40", which can pack ~3KB, a x3 increase
  • Compressing the file (zstd) to make payload smaller
  • Configurable error correction, to increase number of payload bytes vs error-correction ones (dangerous)

I include as part of this effort making payload size adjustable, so we can choose to have many small QR codes instead of a small number of big ones

@OverkillGuy OverkillGuy added the enhancement New feature or request label Mar 8, 2021
@OverkillGuy OverkillGuy added this to the 0.2.0 milestone Mar 8, 2021
@OverkillGuy OverkillGuy removed this from the 0.2.0 milestone Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@OverkillGuy and others