Hello
I 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 = new File("test.svg"); TranscoderInput input = new TranscoderInput(tempFile.toURL().toString()); TranscoderOutput output = new TranscoderOutput(ostream); response.setContentType("image/svg+xml"); SVGTranscoder svgTrans = new SVGTranscoder(); svgTrans.transcode(input,output); A content of svg file don't display on client browser. I tried use JPEG transcoder SVG->JPEG and it is ok. But SVG->SVG not. Please help, Thanks Jarek |