Smake: Added the -background transparent flag to the convert call
[pspp] / Smake
diff --git a/Smake b/Smake
index a148027f2a7669ce9cfd6125e8e3351e25abd8af..3d06270160f32a64df62e79093f939f79d6c91e9 100644 (file)
--- a/Smake
+++ b/Smake
@@ -438,7 +438,7 @@ clean:
 # with the alpha channels.  Therefore, it is not recommended for production pspp builds, but might
 # be useful to get something working on a platform which doesn't have a working gimp.
 
-#svg2png=convert $1 $3
+#svg2png=convert -background transparent $1 $3
 
 svg2png=gimp -i -b '(let* ((image  (car  (gimp-file-load 1  "$1"  "$1"))))  (gimp-image-attach-parasite image (list "gimp-comment" 0 "$(shell cat $2)"))  (gimp-file-save 1 image (car  (gimp-image-get-active-drawable image)) "$3" "$3")) (gimp-quit 1)'