chiark / gitweb /
Work around Inkscape command-line breaking change.
[chroma-debian.git] / resources / make-pieces-zen.pl
index 95538bef5e460750fef3590f8cabcb1602f2ded2..280a9822063ee6662ba7b4fe98f6581648ef0b6d 100755 (executable)
@@ -21,6 +21,7 @@
 # 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)
 {
@@ -85,7 +86,7 @@ sub make_pieces
     $background = "-b \"#000000\"" if($partial);
 
     # 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);
 
     for($piece = 0; $piece < $rows * $columns; $piece ++)
     {