Another beautiful day! A while ago, I planned to change the QR code of my public account to a cool one, but unfortunately many QR code editors on the market were not satisfactory. The forage QR code is pretty cool, but it doesn’t produce a satisfactory effect. So I went to the almighty github and finally found an open source QR code editor. The project is called amazing-qr and currently has 8.8k stars on GitHub. Overviewamazing-qr is developed in pure Python. The project can generate three types of QR codes:
Without further ado, let's take a look at the resulting effect. ExampleThe QR codes we usually see are usually like this, ordinary QR codes: The following cool QR codes can be generated through this project. Black and white QR code: Color Art QR Code: QR code of animated gif: InstallFirst you need to install the Python (Python 3) environment. Then just use pip to install the project: pip install amzqr useSome usage parameters: #Summary (Words represents the text in the QR code) Ordinary QR code: #1 Words Enter a link or sentence as a parameter after the command, and then a corresponding QR code image file will be generated in the current directory of the program, named qrcode.png by default. #2 - v , - l The default side length depends on the length of the message you enter and the level of error correction used; The default error correction level is the highest level, H. Custom: If you want to control the edge length and error correction level use the -v and -l parameters.
#3 - n , - damzqr https://github.com -n github_qr.jpg -d .../paths/ The default output file name is " qrcode.png ", and the default storage location is the current directory. Custom: You can define the output name and location yourself. Note that files with the same name will overwrite the old ones.
Art QR code:#1 - pamzqr https://github.com -p github.jpg The parameter -p is your customized background image, which is placed in the same directory and a black and white image will be generated. #2 - camzqr https://github.com -p github.jpg -c Adding the -c parameter can change the generated image from black and white to color. #3 - con , - bri
Animated GIF QR code:The generation method of dynamic QR code is no different from the QR code with image mentioned above. You only need to use .gif format image to generate black and white or color dynamic QR code. But please note that if you use the -n parameter to customize the output file name, remember that its format must also be .gif format. The above is a simple usage. Finally, the Github address is attached: https://github.com/x-hw/amazing-qr |
<<: Ten hidden tricks of WeChat that most people don’t know
>>: Google recruitment information leaked: Android Studio can be used to develop Android systems
Industrial competition between China and the Unit...
Black holes have always been an incredible existe...
OPPO R9 is destined to be another controversial p...
For more basic knowledge about information flow a...
Hong Rong - Closely follow the main force tactics...
I am building 3 promotion groups (promotion units...
Introduction: User operations are actually divide...
If a lot of food is not placed in the right place...
Summer vacation is here and the heat is unbearabl...
Students, you haven’t finished your winter vacati...
“Behind every successful case, there is a methodo...
In the information flow advertising market, big p...
Don't we have a reliable way to buy a satisfa...
Alipay Koi, Yang Chaoyue from "Produce 101&q...
According to Reuters, Alphabet's self-driving...