I think this is necessary because it is impossible to decode QR with little text and logo. There is not enough recovery data to rebuild some of the code obscured by the logo.
a procedure that will automatically determine the size of the QR code depending on the data, so that the QR code always fills the entire image. This will work with "Numbers and Capital Letters" 0-9 and A-Z data. For other types, you need to change the CSV text.
Hi vknow360,
Thank you for the extension, it seems very nice.
I'm trying to add it to an app I'm doing but I'm not sure if it's possible.
Basically what I want to do is that the user has the possibility to be normal or VIP member. And to be VIP they have to enter a password in the app. Then, I want the app to generate a QR that, when scanned, tells if the user is member or VIP.
Do you think this is possible with this extension or with another extension you know?
But if it is doable with blocks then what is the need of adding it to extension.
Also I am still not able to understand what above blocks do.Can you elaborate a little more?
If you set a fixed size of the QR, as you wrote above, for example at 200x200, qr codes with a lot of text will have one module (one point) with the size of one pixel. In my experience, such a code made of small points is unscannable. I displayed the secret code on my computer, tried to scan with my phone and it was impossible. Experience shows that codes with a large amount of text should have one point with a size of 3px. Another case, we set the size to 200, with a large amount of text, for example, a code type 32 will be generated, which has a size of 145 points. So for one qr code point, there is only 1px and a 22px margin will be left. The blocks I showed allow you to automatically distort the size of the qr code to the number of points in the qr code, so that one point has, for example, 3px. Then the margin is always what we specify. For example, a code that has 160x160 points and a point size of 2px will have the size of 360px + a margin width, e.g. 2px, i.e. 364px.
I think that since your extension doesn't work with barcode scanners because it contains the same libraries, there should be two versions of the extension. One with built-in Zxing library, the other without. Another solution is to add a barcode scanner to the extension.
That's right. Extension uses latest version of Zxing library.
The solution is to avoid using Barcode Scanner component and use Scan View extension (version that doesn't bundle library) instead.