New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / tools / faust2appls / faust2png
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2appls/faust2png b/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2appls/faust2png
new file mode 100755 (executable)
index 0000000..7805d39
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+faust2svg $@
+
+for d in $@; do
+    for f in $d-svg/*.svg; do
+        inkscape -e ${f%.svg}.png -d 300 $f
+        rm $f
+    done
+    mv $d-svg $d-png
+done
+