vg->Svg on the fly, transcoder problem

2004-04-03 Thread Jaroslaw Michalowski
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 =

Re: Transcoder problem

2004-03-19 Thread Thomas DeWeese
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

RE: Transcoder problem

2004-03-18 Thread Brecht Yperman
> > 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

Re: Transcoder problem

2004-03-18 Thread Thomas DeWeese
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

Transcoder problem

2004-03-17 Thread Brecht Yperman
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

RE: Batik Transcoder problem

2002-10-04 Thread Thomas E Deweese
> "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

RE: Batik Transcoder problem

2002-10-03 Thread Riyaz
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

RE: Batik Transcoder problem

2002-10-03 Thread Thomas E Deweese
> "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

Batik Transcoder problem

2002-10-02 Thread Riyaz
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

JPEG Transcoder problem under J2SE 1.4?

2002-05-11 Thread Michael P. McCutcheon
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

RE: PDF transcoder problem?

2002-05-10 Thread Joel Brown
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

Re: PDF transcoder problem?

2002-05-09 Thread Keiron Liddle
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

PDF transcoder problem?

2002-05-09 Thread Joel Brown
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

PDF transcoder problem?

2002-05-09 Thread Joel Brown
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

PNG transcoder problem

2002-04-30 Thread Thomas E Deweese
> "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>

PNG transcoder problem

2002-04-29 Thread stefan werner
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