From 13b5391ffda2e3101574a3bf56351af98141b3ac Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 12 Jan 2008 14:11:03 +0000 Subject: Cleanup icons: Regenerate icons from SVG at 16, 22, 24, 32 and 48 size. Change xmpp-link-local icon from apple's to the avahi icon. Still missing SVG for im-message, im-message-new and user-typing. svn path=/trunk/; revision=540 --- data/icons/generate-png.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 data/icons/generate-png.sh (limited to 'data/icons/generate-png.sh') diff --git a/data/icons/generate-png.sh b/data/icons/generate-png.sh new file mode 100755 index 000000000..ce6d585c5 --- /dev/null +++ b/data/icons/generate-png.sh @@ -0,0 +1,15 @@ +#! /bin/sh + +for F in *.svg +do + for S in "16" "22" "24" "32" "48" + do + SIZE="$S"x"$S" + D=$(echo $F | sed -e "s/scalable/$SIZE/g" | sed -e "s/.svg/.png/") + if [ ! -e $D ] + then + inkscape --export-png=$D -w $S -h $S $F + fi + done + +done -- cgit v1.2.3