From ea5583a47757d6e42bac42dac7e538960f9ad154 Mon Sep 17 00:00:00 2001 From: Riccardo Iaconelli Date: Mon, 24 Dec 2007 22:07:22 +0100 Subject: [PATCH] Use the document size to know what size to export to. --- svgs/generate_pngs.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/svgs/generate_pngs.sh b/svgs/generate_pngs.sh index a847776..10ab016 100755 --- a/svgs/generate_pngs.sh +++ b/svgs/generate_pngs.sh @@ -18,12 +18,12 @@ cd ../pngs/$color/ rm *.png for icon in $(ls *.svg); do - if [ "$icon" != "half-busy.svg" ] && [ "$icon" != "fleur.svg" ]; - then - inkscape --without-gui --export-png=$( echo $icon | sed s/.svg// ).png --export-dpi=72 --export-background-opacity=0 --export-width=$SIZE --export-height=$SIZE $icon 2> /dev/null; - else - inkscape --without-gui --export-png=$( echo $icon | sed s/.svg// ).png --export-background-opacity=0 --export-width=32 --export-height=32 $icon 2> /dev/null; - fi +# if [ "$icon" != "half-busy.svg" ] && [ "$icon" != "fleur.svg" ]; +# then + inkscape --without-gui --export-png=$( echo $icon | sed s/.svg// ).png --export-dpi=90 $icon 2> /dev/null; # --export-background-opacity=0 --export-width=$SIZE --export-height=$SIZE $icon 2> /dev/null; +# else +# inkscape --without-gui --export-png=$( echo $icon | sed s/.svg// ).png --export-background-opacity=0 --export-width=32 --export-height=32 $icon 2> /dev/null; +# fi done rm *.svg -- 2.11.4.GIT