Update bin/build-favicons
|
@ -1,12 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
sizes="16x16 32x32 48x48 64x64 128x128 256x256"
|
||||
for size in ${sizes}; do
|
||||
convert src/favicon.svg \
|
||||
-gravity center \
|
||||
-resize ${size} \
|
||||
-background transparent \
|
||||
-transparent white \
|
||||
-extent ${size} \
|
||||
png32:src/favicon-${size}.png
|
||||
convert src/favicon.svg \
|
||||
-resize ${size} \
|
||||
-background none \
|
||||
-fuzz 8% \
|
||||
-mattecolor "#FFFFFF" \
|
||||
-alpha set \
|
||||
-channel RGBA \
|
||||
-fill none \
|
||||
-opaque white \
|
||||
-gravity center \
|
||||
-extent ${size} \
|
||||
png32:src/favicon-${size}.png
|
||||
done
|
||||
|
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 3.9 KiB |