You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Gary Marshall-Stevens <ga...@3six9.com> on 2003/04/15 16:46:18 UTC
error converting SVG to PDF
Can anyone help with this issue:
I have batik-1.1.1 installed and fop-0.20.4 both binaries.
I am running the following at the command line:
C:\FOP\batik-1.1.1>java -jar batik-rasterizer.jar -m application/pdf
samples/batikFX.svg
this is the error I receive:
Error while converting files:
Error: cannot access transcoder for image of type application/pdf
Will installing the src instead of binaries fix this ?
thanks
GMS
RE: error converting SVG to PDF
Posted by Gary Marshall-Stevens <ga...@3six9.com>.
Thanks Jeremias,
I downloaded 1.5 beta5 earlier and that did fix the issue.
Thanks for the reply anyway.
Gary
-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 15 April 2003 19:19
To: fop-user@xml.apache.org
Subject: Re: error converting SVG to PDF
Batik 1.5 beta5 has the PDF transcoder included.
As an alternative you can try to rename fop.jar to pdf-transcoder.jar so
the classpath specified inside batik-rasterizer.jar picks up FOP at all.
The problem you have is that fop.jar doesn't get loaded into the
classpath. The other possibility is to explicitly specify the classpath
using -cp or -classpath instead of using -jar.
And last but not least: The PDF transcoder you get when downloading the
HEAD branch from CVS (or from a CVS snapshot) will give you an improved
implementation of the PDF transcoder. We'll soon do a separate release
of that code.
On 15.04.2003 16:46:18 Gary Marshall-Stevens wrote:
> Can anyone help with this issue:
>
> I have batik-1.1.1 installed and fop-0.20.4 both binaries.
> I am running the following at the command line:
>
> C:\FOP\batik-1.1.1>java -jar batik-rasterizer.jar -m application/pdf
> samples/batikFX.svg
>
> this is the error I receive:
>
> Error while converting files:
> Error: cannot access transcoder for image of type application/pdf
>
> Will installing the src instead of binaries fix this ?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: error converting SVG to PDF
Posted by Jeremias Maerki <de...@greenmail.ch>.
Batik 1.5 beta5 has the PDF transcoder included.
As an alternative you can try to rename fop.jar to pdf-transcoder.jar so
the classpath specified inside batik-rasterizer.jar picks up FOP at all.
The problem you have is that fop.jar doesn't get loaded into the
classpath. The other possibility is to explicitly specify the classpath
using -cp or -classpath instead of using -jar.
And last but not least: The PDF transcoder you get when downloading the
HEAD branch from CVS (or from a CVS snapshot) will give you an improved
implementation of the PDF transcoder. We'll soon do a separate release
of that code.
On 15.04.2003 16:46:18 Gary Marshall-Stevens wrote:
> Can anyone help with this issue:
>
> I have batik-1.1.1 installed and fop-0.20.4 both binaries.
> I am running the following at the command line:
>
> C:\FOP\batik-1.1.1>java -jar batik-rasterizer.jar -m application/pdf
> samples/batikFX.svg
>
> this is the error I receive:
>
> Error while converting files:
> Error: cannot access transcoder for image of type application/pdf
>
> Will installing the src instead of binaries fix this ?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org