diff --git a/bin/build-favicons b/bin/build-favicons new file mode 100755 index 0000000..df43ce6 --- /dev/null +++ b/bin/build-favicons @@ -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