You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Harvey Rayner <ro...@googlemail.com> on 2007/03/16 12:40:42 UTC
javascript to call rasterizer
can any one show me an example of javascript that calls batik rasterizer?
my server has php 5.1.4 installed, is there any incompatibility issues with
this and batik?
i've been trying to call batik using php. for example:-
<?php
$command = '/usr/local/jdk/jre -jar /home/roottco/batik/batik-rasterizer.jar
/home/roottco/batik/samples/pat02.svg
-d /home/roottco/batik/samples/pat02.png
-m image/png';
$command = escapeshellcmd($command);
$result = exec($command,$output,$retval);
?>
<?php
print 'Error - '.implode(",", $output);?>
but can't get a response. would this have anything to do with classes? sorry
i am new to java
thanks
harvey