Difference between generated images
Closed this issue · 1 comments
I am generating the QR code based on the user's id (mongoDB). If I try to generate a QR code by some website that does this, I get a different image from the one generated by react-native-qrcode, could anyone tell me why?
@rodrigofbm
from https://stackoverflow.com/questions/5493183/qr-codes-same-url-different-image-why
There are 40 Versions (sizes) of QR Codes, 4 error correction levels and 8 masking possibilities giving a total of 1280 possible QR codes for any given input.
Typically the version is chosen based on the amount of data to be stored and the mask is chosen to produce the best image in terms of readability. The error correction level is chosen by the encoder based on how much data might need to be recovered...