Lea,

batik relies on more detail please use something like:

<svg xmlns="http://www.w3.org/2000/svg"; version="1.1" baseProfile="full" xmlns:xlink="http://www.w3.org/1999/xlink"; height="297mm" width="210mm">
<title>Arabian geometric tiled background</title>

a title is not required, but according to the specification should be included.

regards

~:"


on os x there is a rather more useful error dialogue:
The prefix "xlink" for attribute "xlink:href" associated with an element type "pattern" is not bound.


On 31 Mar 2008, at 21:59, Lea Thurman wrote:


Hi all,

I am a batik novice so please be gentle.

I am trying to fill a rectangle by tiling a .png image. After looking at the
specification I got as far as rendering the following svg:

<?xml version="1.0" encoding="UTF-8"?>
<svg height="297mm" width="210mm">
   <pattern width="0.5in" x="0.5in" height="0.5in" id="fpatid"
       y="0.5in"
xlink:href="file:///volumes/pbook/users/user/images/image.png"/>
   <rect fill="url(#fpatid)" x="0.0in" width="0.5in"
       height="0.5in" y="0.0in" stroke="none"/>
</svg>

However I am getting the following error:

java.net.MalformedURLException: no protocol: defs.svg#fpatid

I am not sure how to reference the pattern in fill attribute in the
rectangle.

Any help would be much appreciated.

Regards
Lea.
--
View this message in context: 
http://www.nabble.com/Filling-a-rectangle-with-a-tiled-pattern-of-.png-files-tp16399081p16399081.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to