diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-03 19:08:40 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-03 19:08:40 (GMT) |
| commit | 38c18b640327b653932468e811d6767f65ce0e27 (patch) | |
| tree | aeaa90fcf91e53bcac4af86261f23b4339cd48e3 /res/encode.sh | |
| parent | fb252818e9e8c93adcefcffb99e3fad20c01bd88 (diff) | |
wasp: fonts: Add a large font for digital clock apps
Diffstat (limited to 'res/encode.sh')
| -rw-r--r-- | res/encode.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/encode.sh b/res/encode.sh new file mode 100644 index 0000000..0ee2bae --- /dev/null +++ b/res/encode.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# Split clock.png into digits +for i in `seq 9` +do + convert clock.png -crop 48x60+$((i*48 - 48))+0 clock_$i.png +done +convert clock.png -crop 48x60+$((9*48))+0 clock_0.png +convert clock.png -crop 48x60+$((11*48))+0 clock_colon.png + +# Encode the clock digits |
