navit_svg2png (navit-0.5.5) | : | navit_svg2png (navit-0.5.6) | ||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
svgtopng() | svgtopng() | |||
{ | { | |||
case $svgtopng in | case $svgtopng in | |||
*ksvgtopng|*ksvgtopng4) | *ksvgtopng|*ksvgtopng4) | |||
$svgtopng $* | $svgtopng $* | |||
;; | ;; | |||
*rsvg-convert) | *rsvg-convert) | |||
$svgtopng --width=$1 --height=$2 --output $4 $3 | $svgtopng --width=$1 --height=$2 --output $4 $3 | |||
;; | ;; | |||
*inkscape) | *inkscape) | |||
$svgtopng --without-gui --export-width=$1 --export-height=$2 --ex port-png=$BUILDDIR/$4 $3 | $svgtopng --export-width=$1 --export-height=$2 --export-type=png --export-filename=$4 $3 | |||
;; | ;; | |||
*convert) | *convert) | |||
$svgtopng -alpha on -background none $3 -resize $1x$2 $4 | $svgtopng -alpha on -background none $3 -resize $1x$2 $4 | |||
;; | ;; | |||
*) | *) | |||
echo "Error: unknown conversion tool" | echo "Error: unknown conversion tool" | |||
exitwithhelp # unknown conversion tool | exitwithhelp # unknown conversion tool | |||
;; | ;; | |||
esac | esac | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |