There are many QR code generation programs on the Internet, but they all generate standard QR codes. A recent project required the generation of a QR code with a small icon (LOGO) in the middle. After continuous inquiry of information, I finally made it. The main core is It uses a foreign open source class library - QRCODE. It is really convenient to generate. I hope it can provide a reference for everyone.
Note on usage: When generating 2D with LOGO:
1. Please name the LOGO image that needs to be displayed in the QR code emwlogo.gif, format: gif, and place it in the same directory as the ewmlogo.php file.
2. Please enter the correct URL in the text box. If the URL format is incorrect, the generated QR code will be invalid.