Hi Tonny,

Maybe you could just extract the guts of the SVG to embed, then wrap it in a 
<g> and scale it to the appropriate size.  That's how I have been doing it 
manually.

Cheers,

John

> -----Original Message-----
> From: Tonny Kohar [mailto:[email protected]]
> Sent: Wednesday, 21 January 2009 15:49
> To: [email protected]
> Subject: Re: Embedding svg inside svg using base64
> 
> Hi,
> 
> On Tue, Jan 20, 2009 at 6:19 PM,  <[email protected]> wrote:
> >
> > Hi Tonny,
> >
> > Tonny Kohar <[email protected]> wrote on 01/20/2009 12:39:01 AM:
> >
> >> Is it possible to embed svg inside svg using base64 data protocol
> eg:
> >> data:image/svg+xml;base64;...  in apache Batik?
> >> I could embed raster image using the above, but not for svg vector
> >> graphics.
> >
> >    Unfortunately not, our Base64 support comes by way of our
> ParsedURL
> > class which use used widely but not widely enough to read SVG files
> > (basically most uses of URL need to be replaced with ParsedURL).
> >
> 
> Thanks for the answer, it is very appreciated.
> It seems I need to find another ways.
> What I am looking for is trying to embed SVG image into another SVG.
> Currently I am thinking
> - embed the svg image using svg tag as it is
> - or embed the svg image into the <defs> and reference it using <use>
> tag, is it possible this way ?
> The purpose is to mimick the <image> tag for raster image in SVG
> 
> Any other suggestions ?
> 
> Cheers
> Tonny Kohar
> --
> Sketsa SVG Editor
> imagine, design, create ...
> http://www.kiyut.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: batik-users-
> [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to