Generating QR Code
Looking into generating QR codes and keeping track of the scans. However, I wanted a image in the center. Here is a quick summary of how I accomplished this.
- Download Qrencode
- Ran the following command.
qrencode -s 6 -l H --foreground="3599FE" --background="FFFFFF" -o "qr.png" "Your text here"
- Download ImageMagick
- Run the following command to layer another image on top.
convert qr.png \( beard.jpg -resize 100x100 \) -gravity center -composite test.jpg
Will generate the below QR Code.