rmpat77 wrote:
>
> I am using the Struts framework for my project and the rasterizer is
> invoked in an actionclass. I have 2 choices in the jsp though, one to
> create a SVG and one JPG.
>
> I'm not sure if i've answered your question right...if not..please
> let me know. I appreciate you guys taking time to look into this
> problem and help me out.
What are you passing into the rasterizer?
A URL or an input Stream?
Can you post the code you are using to invoke the rasterizer.
I'm 99% certain that you are sending in a stream (that would
go back to the client in the SVG case). In this case you need to
associate a URL with the stream. The TranscoderInput class has
a whole bunch of inputs it accepts, if you are passing in an
Input Stream you should also call 'setURI' with an appropriate
URI which can be used to resolve the references to your JPEG images.
>
> sincerely,
> ravi
>
>
>> It is most likely _not_ a bug in Batik. It is far more
>>likely that Batik doesn't have an appropriate 'base URL' for
>>the SVG document when it tries to rasterize it. For example
>>if you give the transcoder an InputStream it has no way to
>>know what base URL to associate with it, and hence no way to
>>know where to find relative resources (like your JPEG images).
>>
>> How are you invoking the rasterizer?
>
>
>
>
>
>
>
> -----
> To unsubscribe send a message to: [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
> ----
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/