The logo design tutorial is divided into two parts: first, talk about the logo design norms and skills. Second, through a PS inside the logo design tutorial to operate.
In view of the IT tribal Exchange technology QQ group often people ask how to
Use zxing to generate a two-dimensional code picture with logo, automatically adjust the size of the logo picture relative to the two-dimensional code picture
* Optional whether with logo, choose whether to save two-dimensional code picture; result
Do not do too much description, the detailed content can refer to the article "Thinkphp3.2 version combined with Phpqrcode to generate two-dimensional code and provide download."The method is to replace the QRCode () method with the QICODE_MH ()
One, the use of the class library
1, Phpqrcode (PHP library)
2, Qrcode.js (JavaScript library)
Second, the use of Phpqrcode
Only use PHP's class library, that is, the generation of two-dimensional code in the background operation. Because to
First, the use of Google API to generate two-dimensional codeGoogle provides a more complete two-dimensional code generation interface, calling API interface is very simple, the following is the calling code:
$urlToEncode =
First, the class library used
1, Phpqrcode (PHP library)
2. Qrcode.js (JavaScript Library)
Second, the use of Phpqrcode
Only PHP class library, that is, the generation of two-dimensional code in the background operation. Because in the background
First, using the Google API to generate two-dimensional codeGoogle provides a more complete QR code generation interface, call API interface is very simple, the following is the calling code: $urlToEncode = "Http://www.jb51.net";
1, Download Phpqrcode class Library2, introduction of QRCode LibraryI use the TP framework, directly download the QRCode library into the TP framework under the core framework of the vendor file, vendor (' Phpqrcode.phpqrcode '); Introduced3, code
This article is mainly for you to introduce the Thinkphp3.2.3 integrated Phpqrcode generation with logo of the two-dimensional code implementation method, interested in small partners can refer to
This article is mainly for you to introduce the
Thinkphp does not have a QR code-related library, so we can integrate phpqrcode to achieve the function of generating QR code.
Download Phpqrcode
Download Address: HTtp://phpqrcode.sourceforge.net/
Integration into the thinkphp framework
Under
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.