Encode algorithm QR-code

2019-01-21 01:59发布

问题:

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

回答1:

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.



回答2:

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



回答3:

You can use ZXing's GAE app to generate QR codes in a browser, or download the Java library and use the zxing.appspot.com component in your own code.



回答4:

you can use the JavaScript implementation of a QR symbology, which is part of the ShieldUI open source package available here. You can see a jquery QR plugin implementation based on it in the following demo.



标签: qr-code