Hi Thomas,

I have a sensitive bounding box of svg document (-1044.5        -1370.5     
3220.0 
2176.0)....From this rectangle i need to take out one rectangle with the
specified x,y,width and height ...say(-1044.5   -1370.5   600   600) and write
it to a file.Is it possible and how can i achieve it.

Thanks and regards
Prad

thomas.deweese wrote:
> 
> Hi Prad,
> 
>     The error means what it says, it wants an ' java.io.Writer'
> in the TranscoderOutput, not a simple IO stream.
> If you don't care much about the encoding you can use
> the OutputStreamWriter to wrap your output stream.
> 
> prad <[EMAIL PROTECTED]> wrote on 09/28/2006 07:43:23 AM:
> 
>> But its giving following exception....Am i goin in a wrong way..Plz help 
> me
>> out
>> 
>> Exception :Exception in thread "main" java.lang.Error: Writer expected
>>    at 
> org.apache.batik.transcoder.svg2svg.SVGTranscoder.transcode(Unknown
>> Source)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/getting-dom-from-svg-file-tf2120596.html#a6614849
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to