Hi Thomas,
Thank you very much for the very quick answer. The dummy hack works fine!
This hack works fine for me. I don't mind the filename issue. I convert
single files and can use the -d filename.pdf flag.
Thanks again,
Andreas
[EMAIL PROTECTED] wrote:
Hi Andreas,
Andreas Neumann <[EMAIL PROTECTED]> wrote on 03/27/2006 09:49:00
AM:
I am trying to render a SVG to PDF using Batik-rasterizer on the command
line but get an error message:
-----------
Error while converting files:
Error: invalid url
The code wants the input to end in either '.svg' or '.svgz' (so it can
replace it with '.pdf'). So you can use the old IE hack and add
"&dummy=.svg" on the end.
You will still get a pretty ugly file name from the Rasterizer (it
will have all of the args in it). If you know a little bit of Java and
Java Servlets it's pretty easy to write a wrapper around the PDFTranscoder
that
will do this on the server...
--
----------------------------------------------
Andreas Neumann - Institute of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg
CH-8093 Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]