All,

I am trying to embed a JPEG image inside an SVG file and then rasterize it (svg2jpg). I need to determine what URL to use so Batik finds the file. The file works fine locally using Squiggle. When I try to run it through Cocoon/Batik I get the 'broken image" image instead of my image. The rest of the file is rasterized correctly. I've tried all types of paths and placing the image file in different locations but no luck.

Here's the definition of the pattern in the SVG file:

<pattern id="specialcolor" patternUnits="userSpaceOnUse" x="0" y="0" width="194" height="139">
   <image width="194" height="139" xlink:href="Salmon.jpg"/>
   </pattern>

What should the path look like in xlink:href? Or is there something I can/need to configure in the sitemap?

Oh, I'm running 2.1.7 in Tomcat 5.0

Thanks
Dale Frye


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

Reply via email to