HelloI
have a svg file on the server. After request form the client, svg file is
modified (sax parser) a bit on the fly and send to the client
browser.At this momet i have a problem, with svg transcoder:my java
code:ServletOutputStream ostream = response.getOutputStream();File
tempFile =
Hi Brecht,
Ahh, took me a bit but I got it:
DOMImplementation domImpl =
GenericDOMImplementation.getDOMImplementation();
Document document = domImpl.createDocument(null, "svg", null);
This should be:
DOMImplementation domImpl =
SVGDOMImplementation.getDOMImplementation();
Doc
>
> However I think you would be _much_ better off passing
> the DOM that the svgGenerator builds directly to the Transcoder
> (TranscoderInput will take a document). To get the
> document you want to do something like:
>
>
> // The following populates the document root with the
> // generate
Brecht Yperman wrote:
i'm having some problems trying to create JPEG/TIFF/PNG-images from an
svggraphics2d element in memory.
I used to write an svg file to the file system and then read it in
again to transcode it, but that's a bit messy.
Can anyone help me?
Well the problem below is probabl
Hi,
i'm having some problems trying to create JPEG/TIFF/PNG-images from an
svggraphics2d element in memory.
I used to write an svg file to the file system and then read it in again to
transcode it, but that's a bit messy.
Can anyone help me?
Thanks in advance,
Brecht
private static vo
> "R" == Riyaz <[EMAIL PROTECTED]> writes:
R> SaveAsJPEG.java is sample code from Batik website. Here's the lik
R> to it:
R> http://xml.apache.org/batik/rasterizerTutorial.html#createImage
R> It takes an svg image and converts it to jpeg format. I have saved
R> the file in the Batik direct
les I need to set in linux in order for Batik to run??
Thanks,
Riyaz
Thomas E Deweese <[EMAIL PROTECTED]>
10/03/2002 07:54 AM
Please respond to "Batik Users"
To: Batik Users <[EMAIL PROTECTED]>
cc:
Subject: R
> "R" == Riyaz <[EMAIL PROTECTED]> writes:
R> Hi, I have installed Batik 1.5beta4b on Sun linux Qube. I am trying
R> to use the Batik transcoder. When I type the command:
R> javac SaveAsJPEG.java
R> It gives me a bunch of errors(see below). Am I not setting any
R> environment variables prp
Hi,
I have installed Batik 1.5beta4b on Sun linux Qube. I am trying to use the Batik transcoder. When I type the command:
javac SaveAsJPEG.java
It gives me a bunch of errors(see below). Am I not setting any environment variables prperly or am I missing something?
Help is appreciated. Als
Config:
Windows 2000
JDK 1.4 (Sun)
Batik 1.1.1
When I use the API to generate PNG images, evetything works great.
However, with the same code (just switch transcoder from PNG to JPEG),
the JPEG transcoder always returns a white, blank image.
Is there a known bug that prevents the JPEG transco
m application/pdf \test.svg
> -Original Message-
> From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 12:01 AM
> To: Batik Users
> Subject: Re: PDF transcoder problem?
>
>
> Hi Joel,
>
> You need to use the version of batik th
Hi Joel,
You need to use the version of batik that comes with the FOP that you
are using. This is due to api changes.
Hopefully in future this api will settle down so that new FOP and Batik
versions will work together.
On Thu, 2002-05-09 at 22:22, Joel Brown wrote:
> Hi-
>
> I can't get the Ra
Hi-
I can't get the Rasterizer to convert SVG to PDF.
Following the instructions at
http://xml.apache.org/batik/svgrasterizer.html, it
fails with a transcoder error- see below. I have tried
batik-1.1.1 and fop-0.20.1 to fop-0.20.3
Am I doing something wrong? If not, then if there is a
problem wi
Hi-
I can't get the Rasterizer to convert SVG to PDF.
Following the instructions at
http://xml.apache.org/batik/svgrasterizer.html, it
fails with a transcoder error- see below. I have tried
batik-1.1.1 and fop-0.20.1 to fop-0.20.3
Am I doing something wrong? If not, then if there is a
problem wi
> "sw" == stefan werner <[EMAIL PROTECTED]> writes:
sw> I use Batik (tomcat4.0.4b2,jdk1.3.1_02,ntsp6) to generate dynamic
sw> Graphics( and it is working really fine :-) ). My Problem starts
sw> when the client breaks loading a PNGgraphic, pressing the reload
sw> button f.e., I get the
sw>
Hello,
I use Batik
(tomcat4.0.4b2,jdk1.3.1_02,ntsp6) to generate dynamic Graphics( and it is
working really fine :-) ). My Problem starts when the client breaks
loading a PNGgraphic, pressing the reload button f.e., I get the message:
StandardWrapperValve[PngJob]:
Servlet.service() for
16 matches
Mail list logo