Derek,
Why didn't I think of that! It works!
Thanks,
Dale
Derek Hohls wrote:
Dale
You could try an absolute URL here e.g.:
http://mysite.com/images/Salmon.jpg
That has always worked for me.
(Also check the mail archives - the topic of linking
to images from within SVG comes up a lot...)
[EMAIL PROTECTED] 2005/07/29 05:23:33 AM >>>
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]