Add bin/iconify
This commit is contained in:
parent
ff64d66f27
commit
4a928713dc
1 changed files with 12 additions and 0 deletions
12
bin/iconify
Executable file
12
bin/iconify
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
sizes="16x16 48x48 64x64 128x128 256x256"
|
||||||
|
dir="src/images/icons"
|
||||||
|
for size in ${sizes}; do
|
||||||
|
convert ${dir}/icon.svg \
|
||||||
|
-resize ${size} \
|
||||||
|
-background none \
|
||||||
|
-gravity center \
|
||||||
|
-extent $size \
|
||||||
|
${dir}/wtf${size}.png
|
||||||
|
done
|
Loading…
Reference in a new issue