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