From d552ce8e6de88ee7ff362d3a6a9ad746e876fbc5 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 13 May 2020 17:58:26 -0400 Subject: fixed email address --- do_gen_favicon | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 do_gen_favicon (limited to 'do_gen_favicon') diff --git a/do_gen_favicon b/do_gen_favicon deleted file mode 100755 index a7bbc66..0000000 --- a/do_gen_favicon +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -SIZES="16 32 64 128 256" - -[[ -z $1 ]] && exit 1; -temp_dir=$(mktemp -d /tmp/favicon.XXXXXXXXXX) - -for size in $SIZES -do - convert "$1" \ - -depth 8 \ - -background transparent \ - -flatten \ - -resize \ - "${size}x${size}" \ - "$temp_dir/$size.png" -done - -convert "$temp_dir/*" favicon.ico -- cgit v1.2.3