chiark / gitweb /
Work around Inkscape command-line breaking change.
[chroma-debian.git] / resources / make-base-marble.pl
index 6f4821cf7f8eb0c455d84ea0ca11084783fdd9ad..a20f078ece48440fe4a328a066092767dfe14512 100755 (executable)
@@ -21,6 +21,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+require './inkscape_export.pm';
+
 if($#ARGV != 1)
 {
     print STDERR "Usage: make-base-marble.pl <file.svg> <directory>\n";
@@ -69,5 +71,5 @@ sub make_pieces
     $background = "";
 
     # Use Inkscape to convert the SVG to a PNG
-    system("inkscape $background -w $width_png -h $height_png -e $file_png $file_svg");
+    inkscape_export($background, $width_png, $height_png, $file_png, $file_svg);
 }