xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Dow" <s...@instepsoftware.com>
Subject RE: Native Image format
Date Thu, 07 Mar 2002 17:13:26 GMT
 
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:glaforge@reflexe.fr]
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 <mailto:sdow@instepsoftware.com>  
To: Batik Users <mailto:batik-users@xml.apache.org>  
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



Mime
View raw message