On Sun, Feb 29, 2004 at 05:53:25PM +0000, beyaNet Consultancy wrote:
> Hi,
> I am new to the batik users forum and this is my first post. What I 
> want to know is whether it is possible to:
> 
> 1. Convert a base64 (jpeg) string into svg and then display the result 
> in a browser using the <object>, <image>, <img>. or <embed> tags?
> 
> If so, how would I go about doing this?

Hi!

I did the embedding with with the image tag:
<image x="0" y="300" width="100" height="100"
xlink:href="data:image/jpeg;base64,/9j/4AAQSDBgNDRg...more.base64.encoded.data...lR2M//9k="
/>

All you need is a Base64 Endcoder (according to your setup one in Java,
there are many around, but i do not know if there is one public
accessible in the batik-framework)

Greetings Frank





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to