Add bin/build-favicons
This commit is contained in:
parent
7722f3672b
commit
78737357a9
1 changed files with 11 additions and 0 deletions
11
bin/build-favicons
Executable file
11
bin/build-favicons
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
sizes="16x16 32x32 48x48 64x64 128x128 256x256"
|
||||
for size in ${sizes}; do
|
||||
convert src/favicon.svg \
|
||||
-gravity center \
|
||||
-resize ${size} \
|
||||
-background transparent \
|
||||
-extent ${size} \
|
||||
src/favicon-${size}.png
|
||||
done
|
Loading…
Reference in a new issue