It’s of course possible, but the spec is trying to avoid this. There are multiple “masking patterns”, and the algorithm should choose one that gives fewest “penalty points”. Large single color areas are a lot of penalty points, so QR algorithm is trying to avoid them.
NeoTar|2 years ago
There could maybe be two solutions:
* Darkest/Brightest allowed by the QR algorithm,
* Darkest/Brightest technically valid, which would would not be chosen by the algorithm (i.e. if one manually chooses the masking pattern.
Perhaps also more solutions - 'Darkest/Brightest recognized by software X/Y/Z'
Retr0id|2 years ago
lifthrasiir|2 years ago
[1] https://github.com/lifthrasiir/qr.js/blob/52f0409a22c5ece6a5...