12 lines
271 B
Text
12 lines
271 B
Text
|
#!/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
|