Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Encode algorithm QR-code

Tags:

qr-code

Who knows how to generate qr-code? And how to decorate like here http://mojiq.kazina.com/?

like image 604
Yanker Avatar asked Mar 27 '11 00:03

Yanker


People also ask

What is the algorithm for QR code?

Basically, the Reed Solomon method is an algorithm that all QR code readers have built-in as standard. It allows QR codes to be scanned even if a certain amount of the QR code is covered up or blocked.

What encoding do QR codes use?

QR codes use four standardized encoding modes (numeric, alphanumeric, byte/binary, and kanji) to store data efficiently; extensions may also be used.

Can you encode text in a QR code?

Yes, you can convert any text into a text QR code. This includes simple words, numbers, and special characters. You can even include emojis in your text and convert them into a text QR code.


2 Answers

try this tutorial http://www.thonky.com/qr-code-tutorial/, very good in-depth tutorial on creating QR-codes, but only for a certain type of QR-code.

like image 88
sschrass Avatar answered Sep 23 '22 10:09

sschrass


Most of the time, the problem is the Finite-Field arithmetic, because it is a little bit different. And once you have the generator working, the error-correction techniques make it harder to see if the code is generated correctly. There is another site which has ECC generator: http://www.pclviewer.com/rs2/calculator.html But note that this generator also does not work correctly in all cases, same as Thonky's error code correction generator.

A small project I made allows step-by-step debugging and following the creation of the QRCode and manually changing all the parameters - something no generator on web does. The link: https://github.com/Legoless/QRCode

like image 27
Legoless Avatar answered Sep 20 '22 10:09

Legoless