mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-26 12:43:08 +01:00
qr.bash: double the pixel size
This commit is contained in:
parent
4ea1bcdb40
commit
8162696f55
@ -3,13 +3,14 @@
|
||||
# Arguments: Name & content
|
||||
|
||||
# -l H uses the highest error correction in case 30 % gets damaged (or artistried upon)
|
||||
# -s 6 doubles the dot/pixel size
|
||||
|
||||
# Outputs QR code to terminal
|
||||
|
||||
# ${@:2} takes all arguments except not the first one
|
||||
qrencode -l H -t utf8 "${@:2}"
|
||||
# Stores QR code as $1.png (first argument)
|
||||
qrencode -l H -o "$1".png "${@:2}"
|
||||
qrencode -s 6 -l H -o "$1".png "${@:2}"
|
||||
# My stepfather wants jpg
|
||||
convert "$1".png "$1".jpg
|
||||
# Prints details
|
||||
|
Loading…
Reference in New Issue
Block a user