|
Try just creating the SVG on its own
ie.
<svg width="100" height="100" viewBox="0 0 50
50"> <rect width="50"
height="50"/> </svg>
Let me know if this
works for you!
Linc
----- Original Message -----
Sent: Thursday, February 19, 2004 5:05
PM
Subject: SVG bug!!!
Hi, I have, for the last few days now, tried unsuccessfully
to change the canvas size of generated svg images. Is there a bug in SVG or is
there something very simple I am failing to grasp here?
<svg:svg width="300"
height="300" y="0" x="0" viewBox="0 35 200 200">/color> <xsp:element
name="image">/color> <xsp:attribute
name="x">/color>0/color></xsp:attribute>/color> <xsp:attribute
name="y">/color>0/color></xsp:attribute>/color> <xsp:attribute
name="width">/color>300/color></xsp:attribute>/color> <xsp:attribute
name="height">/color>300/color></xsp:attribute>/color> <xsp:attribute
name="xlink:href">/color>data:image/jpeg;base64,<xsp:expr>/color>Photo1</xsp:expr></xsp:attribute>/color> <xsp:attribute
name="id">/color>artist1</xsp:attribute>/color> </xsp:element>/color> </svg:svg>
many
thanks in advance/color>
|