Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Don't Duplicate QR Codes Look The Same? [closed]

Tags:

My understanding in that a QR Code contains the data that is being read, and it does not require an internet connection to interpret the code. If this is the case, why do I get a different QR Codes every time I recreate a new QR with the same data?

I see definite differences if I use two different generators to create the same code. For instance, creating a URL link to http://www.yahoo.com creates two different QRs on these sites:

http://qrcode.kaywa.com/

http://zxing.appspot.com/generator/

like image 985
Chris Avatar asked Dec 29 '10 02:12

Chris


People also ask

Can there be 2 identical QR codes?

No! You can create as many static QR Codes as you want. However, the number of available dynamic QR Codes will depend on the plan purchased by you.

Can a QR code be replicated?

Normal QR Code Can Be Copied or Simulated to Point to A Fake Website. Even with Encryption, QR Codes Can Still Be Copied and Simulated to Pass Off as Genuine and Authentic. Needs to Direct User's Device to A Website, Mobile Site, or Another Application.

Is it easy to replicate QR code?

QR on the other hand is designed to make replication easy. QR codes are redundant and can still be read if a rather large portion of them is lost.


2 Answers

Mind that QR codes may use 4 different levels of error correction, labeled L, M, Q and H, respectively. Also, there is a process called masking, with the intention to increase the robustness of the reading process by distributing the black and white pixels over the image. There are also a number of masking patterns available, which can produce a valid QR code, but with different results. Read the specification for more info on those.

That being said, given a generator with the same settings, the output should always be the same, which is what your original question was about. Now, comparing two different generators might result in observing two different images due to the effects mentioned above.

Spec link, randomly picked off of Google (I'm mentioning this because ISO is selling the QR specification as a standard document):

http://raidenii.net/files/datasheets/misc/qr_code.pdf

like image 157
Jim Brissom Avatar answered Oct 17 '22 01:10

Jim Brissom


The two sites might use two different versions of the QR code standard.

This picture shows that certain areas of the code hold information about the version and format used, so two QR codes might differ in those areas. I really don't know how QR codes work, but I assume that a different version or format would also mean that the rest of the data is ordered or encoded differently.

http://en.wikipedia.org/wiki/File:QR_Code_Structure_Example.svg

like image 45
dzollman Avatar answered Oct 17 '22 00:10

dzollman