diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2023-02-16 20:35:05 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2023-02-16 21:08:14 -0500 |
| commit | 91a0addb693e71cbaea8ab52bc73b58214ea2de6 (patch) | |
| tree | cf0f12d70aa005e76cc1c69bd048f539aee6a40c | |
| parent | 4d7c2bfc2c9e3769dbc5a34a706b9d4cb8d0a14a (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-x | generate-donate-qr-codes | 15 | ||||
| -rw-r--r-- | static/donate-bitcoin-taproot.png | bin | 396 -> 378 bytes | |||
| -rw-r--r-- | static/donate-bitcoin.png | bin | 343 -> 312 bytes | |||
| -rw-r--r-- | static/donate-cardano.png | bin | 395 -> 371 bytes | |||
| -rw-r--r-- | static/donate-ethereum.png | bin | 269 -> 233 bytes | |||
| -rw-r--r-- | static/donate-monero.png | bin | 512 -> 486 bytes | |||
| -rw-r--r-- | static/donate-zcash-transparent.png | bin | 344 -> 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 Binary files differindex fef591e3..0b483dd4 100644 --- a/static/donate-bitcoin-taproot.png +++ b/static/donate-bitcoin-taproot.png diff --git a/static/donate-bitcoin.png b/static/donate-bitcoin.png Binary files differindex 61dcf849..aa83bf23 100644 --- a/static/donate-bitcoin.png +++ b/static/donate-bitcoin.png diff --git a/static/donate-cardano.png b/static/donate-cardano.png Binary files differindex d065fbea..582d7b47 100644 --- a/static/donate-cardano.png +++ b/static/donate-cardano.png diff --git a/static/donate-ethereum.png b/static/donate-ethereum.png Binary files differindex f5697cff..dfe25906 100644 --- a/static/donate-ethereum.png +++ b/static/donate-ethereum.png diff --git a/static/donate-monero.png b/static/donate-monero.png Binary files differindex 2bbf0761..b85337b4 100644 --- a/static/donate-monero.png +++ b/static/donate-monero.png diff --git a/static/donate-zcash-transparent.png b/static/donate-zcash-transparent.png Binary files differindex ca594432..9b5f8e8b 100644 --- a/static/donate-zcash-transparent.png +++ b/static/donate-zcash-transparent.png |
