Reduce the size of the inner logo in the QR code #4746
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
Fixes #4740
Some of the generated QR codes cannot be scanned if the logo is too big - presumably certain combinations of data have pieces that end up underneath the logo.
For example, see:
These QR codes can indeed be scanned just fine. However, see these starter packs:
These ones cannot be scanned.
How
If we change the
scale
of the logo to1
instead of1.2
, then all of the above packs do indeed work. However, it seems possible that certain data combinations may still cause problems - indeed, if we add additional data (probably unlikely, but maybe in the future?) it seems even riskier. Since we already have the logo and name at the bottom of the image, it feels okay to remove the logo entirely to ensure these work fine.Test Plan
Test the above starter packs with this PR. They should all be scannable now instead of just the first set.