Re: [svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread Thomas DeWeese
rmpat77 wrote: > I kinda get what you're saying, although I'm not exactly sure how to > include the URL. The thing that bothers me is that, one of those JPGs > is dynamically chosen i.e based on what selection is made in the > form. Thomas DeWeese wrote: >>What you want to do is add:

[svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread rmpat77
> So this is passing in a Reader (essentially a text version of > an InputStream). As I think you should be able to see there > is no way to know what should be used as the baseURL to resolve > relative URLS with (so it can't find your images). > > What you want to do is add: > >

Re: [svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread Thomas DeWeese
Thomas DeWeese wrote: >>What are you passing into the rasterizer? >>A URL or an input Stream? rmpat77 wrote: > TranscoderInput input = new TranscoderInput(new > StringReader(svgString)); So this is passing in a Reader (essentially a text version of an InputStream).

[svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread rmpat77
> > 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 > ass

Re: [svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread Thomas DeWeese
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 g

[svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread rmpat77
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 t

Re: [svg-developers] Re: SVG - JPG Rasterization problem

2004-11-03 Thread Thomas DeWeese
Tonny Kohar wrote: >>Thanks for responding. Actually i have 2 options on my page, one to >>generate an SVG graphic and one to generate JPG. When I select SVG >>option, the JPGs get loaded just fine. ITs only when I select the JPG >>option is when all but the embedded JPGs appear correctly. >>

Re: [svg-developers] Re: SVG - JPG Rasterization problem

2004-11-02 Thread Tonny Kohar
Hi, > Thanks for responding. Actually i have 2 options on my page, one to > generate an SVG graphic and one to generate JPG. When I select SVG > option, the JPGs get loaded just fine. ITs only when I select the JPG > option is when all but the embedded JPGs appear correctly. > > Do you still

[svg-developers] Re: SVG - JPG Rasterization problem

2004-11-02 Thread rmpat77
Hey Tonny, Thanks for responding. Actually i have 2 options on my page, one to generate an SVG graphic and one to generate JPG. When I select SVG option, the JPGs get loaded just fine. ITs only when I select the JPG option is when all but the embedded JPGs appear correctly. Do you still thin