Smake: Added the -background transparent flag to the convert call 20131108030507/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 7 Nov 2013 14:48:32 +0000 (15:48 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 7 Nov 2013 18:06:19 +0000 (19:06 +0100)
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)'