xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: how to transform binary image to base64 encoded svg element?
Date Sun, 17 Sep 2006 21:33:45 GMT
Cameron McCormack wrote:
>> How do I transform a binary image to a base64 encoded svg element?
> You can use the Base64EncoderStream class:
>   http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/util/Base64EncoderStream.html

If you want a command line tool, here's a little UNIX shell script that
converts PNG files to SVG. You need file(1) and openssh(1).


Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

View raw message