From: Michael Neumann Date: 2002-05-26T07:47:15+09:00 Subject: Re: base64 On Sun, May 26, 2002 at 06:10:15AM +0900, Tobias Reif wrote: > Hi, > > how can I base64 encode an image so I can inline it in SVG like [img_data].pack("m") should do it. alternatively: require "base64" encode64(img_data) maybe you also have to remove the newlines from the encoded string! Regards, Michael -- Michael Neumann *** eMail uu9r@rz.uni-karlsruhe.de