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 "J.J. Schlafley" <jj...@yahoo.com> on 2007/04/21 02:54:25 UTC

dynamic content as input for rasterizer

Hi all,
Will the batik rasterizer take a dynamic svg content file as input? like a php url that dynamically creates svg content? or would the php script need to create a physical .svg file for the batik rasterizer to use it properly? Thanks, JJ

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: dynamic content as input for rasterizer

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
Hi, yes, thats perfectly possible.

However, you have to make sure that the extension is .svg , as an 
example, if you have a php script creating the svg file you should make 
sure that you have a dummy cgi parameter at the end, something like 
somescript.php?param1=asdfasdf&param2=123123&dummy=.svg

Batik is very powerful, also offers to execute onload scripts and 
snapshotTime (for SMIL).

Andreas

J.J. Schlafley wrote:
> Hi all,
> Will the batik rasterizer take a dynamic svg content file as input? 
> like a php url that dynamically creates svg content? or would the php 
> script need to create a physical .svg file for the batik rasterizer to 
> use it properly? Thanks, JJ
>
> ------------------------------------------------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos. 
> <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> 



-- 
--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: neumann@karto.baug.ethz.ch
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org