al-quran.reflectslight.io/bin/build-favicons

13 lines
308 B
Text
Raw Normal View History

2024-02-25 21:22:43 +01:00
#!/bin/sh
sizes="16x16 32x32 48x48 64x64 128x128 256x256"
for size in ${sizes}; do
convert src/favicon.svg \
-gravity center \
-resize ${size} \
-background transparent \
2024-02-25 23:07:52 +01:00
-transparent white \
2024-02-25 21:22:43 +01:00
-extent ${size} \
2024-02-25 23:07:52 +01:00
png32:src/favicon-${size}.png
2024-02-25 21:22:43 +01:00
done