Add bin/build-favicons

This commit is contained in:
0x1eef 2024-02-25 17:22:43 -03:00
parent 7722f3672b
commit 78737357a9

11
bin/build-favicons Executable file
View 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