summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-02-16 20:35:05 -0500
committerDaniel Micay <danielmicay@gmail.com>2023-02-16 21:08:14 -0500
commit91a0addb693e71cbaea8ab52bc73b58214ea2de6 (patch)
treecf0f12d70aa005e76cc1c69bd048f539aee6a40c
parent4d7c2bfc2c9e3769dbc5a34a706b9d4cb8d0a14a (diff)
switch to 1 pixel per dot for QR codes
The switch to `image-rendering: pixelated` means there's no longer any benefit to rendering with more pixels per dot.
-rwxr-xr-xgenerate-donate-qr-codes15
-rw-r--r--static/donate-bitcoin-taproot.pngbin396 -> 378 bytes
-rw-r--r--static/donate-bitcoin.pngbin343 -> 312 bytes
-rw-r--r--static/donate-cardano.pngbin395 -> 371 bytes
-rw-r--r--static/donate-ethereum.pngbin269 -> 233 bytes
-rw-r--r--static/donate-monero.pngbin512 -> 486 bytes
-rw-r--r--static/donate-zcash-transparent.pngbin344 -> 318 bytes
7 files changed, 15 insertions, 0 deletions
diff --git a/generate-donate-qr-codes b/generate-donate-qr-codes
new file mode 100755
index 00000000..2c356983
--- /dev/null
+++ b/generate-donate-qr-codes
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+generate() {
+ echo $1
+ qrencode -s 1 -o $1 $2
+ gm identify -format '%w×%h\n' $1
+ zopflipng -ym $1 $1
+}
+
+generate static/donate-bitcoin.png 'bitcoin:bc1qy6fhm8p00p3h3w5rrcp2h2wejeeqn7x6y7xs2p?label=GrapheneOS&message=Donation%20to%20GrapheneOS'
+generate static/donate-bitcoin-taproot.png 'bitcoin:bc1paundtwscvlqchmjgds2cj2dpay5y72ll37r07x57dhw9q234k6dqmc2ztx?label=GrapheneOS&message=Donation%20to%20GrapheneOS'
+generate static/donate-monero.png 'monero:8BHhJ3AnnZUJu4JYHasUus6Tq4HYyhiYRgrJAKNtfPc2hKMrTzbeUuf3B8ojtFMAu5MjNEDhoFQ31QLhs2z46CYDTUnuN63?recipient_name=GrapheneOS&tx_description=Donation%20to%20GrapheneOS'
+generate static/donate-zcash-transparent.png 'zcash:t1dsDbZQZrEUEGanmPMTAGxY2PJowL2S4br?label=GrapheneOS&message=Donation%20to%20GrapheneOS'
+generate static/donate-ethereum.png 'ethereum:0xb74eD3BE17C0F2AF46AC6F15b0536d6D112D1A8c'
+generate static/donate-cardano.png 'web+cardano:addr1q9yy48cu957rgmsh7s355gm458vauqll0z56r7gehqge8sv29gwxlt6f8pavhx2hjuw6494sxny8te7lrs0c6237u9ps443gd6'
diff --git a/static/donate-bitcoin-taproot.png b/static/donate-bitcoin-taproot.png
index fef591e3..0b483dd4 100644
--- a/static/donate-bitcoin-taproot.png
+++ b/static/donate-bitcoin-taproot.png
Binary files differ
diff --git a/static/donate-bitcoin.png b/static/donate-bitcoin.png
index 61dcf849..aa83bf23 100644
--- a/static/donate-bitcoin.png
+++ b/static/donate-bitcoin.png
Binary files differ
diff --git a/static/donate-cardano.png b/static/donate-cardano.png
index d065fbea..582d7b47 100644
--- a/static/donate-cardano.png
+++ b/static/donate-cardano.png
Binary files differ
diff --git a/static/donate-ethereum.png b/static/donate-ethereum.png
index f5697cff..dfe25906 100644
--- a/static/donate-ethereum.png
+++ b/static/donate-ethereum.png
Binary files differ
diff --git a/static/donate-monero.png b/static/donate-monero.png
index 2bbf0761..b85337b4 100644
--- a/static/donate-monero.png
+++ b/static/donate-monero.png
Binary files differ
diff --git a/static/donate-zcash-transparent.png b/static/donate-zcash-transparent.png
index ca594432..9b5f8e8b 100644
--- a/static/donate-zcash-transparent.png
+++ b/static/donate-zcash-transparent.png
Binary files differ