If you look at these two images:
https://zxing.org/w/chart?cht=qr&chs=365x365&chld=L&choe=UTF-8&chl=1234567890%0A1234567890%0A1234567890
https://zxing.org/w/chart?cht=qr&chs=335x335&chld=L&choe=UTF-8&chl=1234567890%0A1234567890%0A1234567890
which have all the same settings, other than size. You'll notice the difference in the white border. With regards to that I've got two questions:
- Is there any way to predict how large that will be?
- With a given error correction level, a certain part of the QR code may be unreadable. Do I need to take a percentage of the surface of the entire image or do I need to take a percentage of the image minus the white border?
Groeten,
Friso
Thanks for this reply. I’m not insisting on fractional size, I’m just wondering how it works. If I understand correctly: when I use a 369*369 picture, the amount of error that is allowed is 9*37*37*0.07 (for error level “L”)?
Groeten,
Friso
Thanks again, this helps! Yes, the idea is to place a logo in the center. There will be much more data than my example (and not always the same amount of data), so I’m trying to make sure the QR is still readable (with a little extra margin). The image will be shown on a screen so real damage will be low.
Groeten,
Friso
Van: Lachezar Dobrev
Verzonden: dinsdag 17 januari 2017 15:37
Aan: Friso Vrolijken
CC: zxing
Onderwerp: Re: [zxing] White margin size
Well your code (at level L) fits into a 37x37 (V3 is 29x29 data + 4