Skip to content

Do not hardcode QR code version in tickets #5052

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

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

ThiefMaster
Copy link
Member

QR version 17 is very dense and not easily scannable. By not specifying a version the library uses the lowest version that can be used to fit the data, which results in a much more easily scannable QR code (since it's using a bigger grid).

In case someone is curious, https://www.nayuki.io/page/qr-code-generator-library works nicely to play around with the different versions to see how they look like.

@ThiefMaster ThiefMaster added this to the v3 milestone Aug 24, 2021
Version 17 is very dense and not easily scannable. By not specifying a
version the library uses the lowest version that can be used to fit the
data, which results in a much more scannable QR code (since it's using a
bigger grid)
@ThiefMaster ThiefMaster merged commit 0137d60 into indico:3.0.x Aug 24, 2021
@ThiefMaster ThiefMaster deleted the qr-version branch August 24, 2021 15:37
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

Successfully merging this pull request may close these issues.

1 participant