xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Eirik Rønning" <larsei...@gmail.com>
Subject Re: Embed a png in svg using Batik
Date Tue, 11 Nov 2008 09:53:30 GMT
or you could remove the base64 aspect of it and use
xlink:href="file:///mypath/myfile.png"

On Tue, Nov 11, 2008 at 10:50 AM, massimo citterio <cits@sinapto.net> wrote:

> On Tue, 2008-11-11 at 14:59 +0530, Denis Weerasiri wrote:
> > I'm completely new to Batik. I need to know how to refer to an png
> > file through an svg file using Batik.
> > Please help me on this case.
>
> try this
>
> <image
>   width="46"
>   height="88"
>  xlink:href="data:image/png;base64,_____put here the base64 encoded
> image____" />
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>

Mime
View raw message