Svg->Svg on the fly, transcoder problem
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);
SVGTranscoder svgTrans = new SVGTranscoder();
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
[Non-text portions of this message have been removed]
- Hi all!
Is it possible to use the KEY_AOI hint with
svg2svg.SVGTranscoder to clip the SVG file on the fly?
If not, is there any possibility to clip a rectangle
from an SVG file? I don't want to send the original
SVG, because that's very huge.
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
> Is it possible to use the KEY_AOI hint withIf I not wrong, KEY_AOI only works for rasterizer transcoder, not
> svg2svg.SVGTranscoder to clip the SVG file on the fly?
> If not, is there any possibility to clip a rectangle
> from an SVG file? I don't want to send the original
> SVG, because that's very huge.
SVG Graphics Editor