Encode algorithm QR-code
Who knows how to gene开发者_运维百科rate qr-code? And how to decorate like here http://mojiq.kazina.com/?
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.
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
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.
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.
精彩评论