Hello SVG groupies,
 
I implemented the code that Guillaume pointed me to below and I am successfully encoding my images to Base64.  However, the encoding is still not getting interpreted by the SVG viewer.  I have attached two examples one that works and one that does not.  Is there any explaination about why my example, created using the Base64 algorithm, does not work?  Is there any sort of documentation that can aid me in debugging this.  Any help is much appreciated.
 
 
 
 
-----Original Message-----
From: Guillaume Laforge [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 2:47 AM
To: Batik Users
Subject: Re: Native Image format

Hello Steven,
 
There are a lot of implementations of the Base64 algorithm, you can also use the following classes to convert your image files in order to embed them directly in you SVG content :
 
org.apache.xerces.utils.Base64
org.apache.catalina.util.Base64
 
Guillaume
 
----- Original Message -----
From: Steven Dow
Sent: Tuesday, March 05, 2002 10:39 PM
Subject: Native Image format


Can someone tell me how a jpg is translated to the format below?  The documentation I've found does not give much detail about this method of embedding images.  If you paste this simple example into a new SVG file you will see the result is an image.  What is the translation algorithm?  Any help is much appreciated...

Steven

Attachment: not_working.svg
Description: not_working.svg

Attachment: working.svg
Description: working.svg

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


Reply via email to