Many years ago used Li Tianping predecessors, their own change, and then the teacher Li did move soft, not to the source code, modification is not very convenient. Plus I need to go to the Java direction now, so I decided to do it myself. So far it has taken one weeks to look at the current results.The last is the code engineering file, developed in C #, the IDE
Generate a QR code and a QR code with Parameters
This article describes a jquery-based QR code generation plug-in qrcode. You can call this plug-in on the page to generate the corresponding QR
industry standard) (JIS X 0510)June 2000 adopted as ISO International Standard (ISO/IEC18004)November 2004 Micro QR Code was adopted as JIS (Japanese industry standard) (JIS X 0510)December 2011 ISO GS1 The adoption of QR codes as a standard for mobile terminalsA brief standard for QR codesQR
Use QrCodeNet in MVC to generate a QR code and mvcqrcodenet to generate a QR code.
QrCodeNet: http://qrcodenet.codeplex.com/
1 using System. drawing; 2 using System. drawing. imaging; 3 using System. IO; 4 using Gma. qrCodeNet. encoding; 5 using Gma. qrCodeNet. encoding. windows. render; 6 7 namespace QRCodeTest 8 {9 p
); }//Output picture imagepng ($QR, 'Helloweixin.png '); Echo ' ';Because the two-dimensional code allows a certain degree of fault tolerance, the general QR code even in the masked part but still able to decode, often we scan the QR
This article describes how to install and use the Python QR code generator Library qrcode. This article describes how to install qrcode, generate a QR code, and generate a QR code with
(file_get_contents ($ QR ));$ Logo = imagecreatefromstring (file_get_contents ($ logo ));$ QR_width = imagesx ($ QR); // the image width of the QR code.$ QR_height = imagesy ($ QR); // The Image height of the QR
like. Haha
Who has the source code (java version) generated by the QR code?
Import java. io .*;Import java. util. Date;Import java. awt .*;Import java. awt. image .*;Import javax. imageio .*;Public class QRCodeEncoderTest{/** Creates a new instance of QRCodeEncoderTest */Public QRCodeEncoderTest (){} Public static void create_image (String sms_info) throws Excep
= 'qrcode.png '; // generated original QR code If ($ logo! = FALSE ){$ QR = imagecreatefromstring (file_get_contents ($ QR ));$ Logo = imagecreatefromstring (file_get_contents ($ logo ));$ QR_width = imagesx ($ QR); // the image width of the
($ QR, $ logo, $ from_width, $ from_width, 0, 0, $ logo_qr_width, $ logo_qr_height, $ logo_width, $ logo_height);} // output image imagepng ($ QR, 'helloweba.png '); echo '';
The following is a reference to the above Code. It is easy to call without producing image files. Save the following code as img. php.
Call
,
$ Logo_qr_height, $ logo_width, $ logo_height );
}
// Output image
Imagepng ($ QR, 'helloweixin.png ');
Echo '';
Because the QR code allows some fault tolerance, even if the hidden part of the QR code is still decoded, the scan results can be decoded when we scan the
Write the code generator by yourself (1). Write the Code Generator
I thought of a code generator of my own for a long time. It was simple and enough for my own use, so I had no time. I was idle recently, so I made up my mind to wr
[] args) throws Exception { "http://www.yihaomen.com"; "" " C:/barcode " true ); }Run this test method, generated QR code without logo, the style is as follows:I'm interested in scanning with a cellphone.Create a QR code with logoLogo can be used with their
. Because there was no contact with the graphics processing this piece, is basically learning while doing, mainly from the processing of ideas to find the corresponding graphics processing tools.OpenCV support multiple languages, such as C + +, Python, the current network of more reference documents are based on C + +, considering the ease of programming language, the decision to use Python development. Giv
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.