git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b739a2a
)
Dark background for QR files
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 8 Jan 2021 21:16:58 +0000
(22:16 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 8 Jan 2021 21:16:58 +0000
(22:16 +0100)
bin/create-qr.sh
patch
|
blob
|
history
diff --git
a/bin/create-qr.sh
b/bin/create-qr.sh
index 6ab603095c818d3a7a48023505e677e7490e1942..c344b72261a58e1cf54d24edf776fa98f406c8b3 100755
(executable)
--- a/
bin/create-qr.sh
+++ b/
bin/create-qr.sh
@@
-30,14
+30,14
@@
qrencode -s 20 -o tmp-qr.png "$url"
convert\
-filter point -resize 1260x580\
- -background
white
\
+ -background
'#1a1a1a'
\
tmp-qr.png\
-size 1260x120\
- -fill
black
\
+ -fill
'#dad9d9'
\
-gravity south\
label:"$url"\
-append\
- -bordercolor
white
\
+ -bordercolor
'#1a1a1a'
\
-border 10\
"$filename"