Re: [XML-SIG] Ebbeding image data in XML

2005-12-20 Thread Alexandre Fayolle
On Tue, Dec 20, 2005 at 07:33:29PM +0100, Werner F. Bruhin wrote: > I would like to embed an image in an XML file. > > I was thinking of using PIL.tostring() and put it into the imageasstring > element. > > > RGB > (540, 982) > HERE GOES IMAGE DATA > > > Currently I use lxml.etree

[XML-SIG] Ebbeding image data in XML

2005-12-20 Thread Werner F. Bruhin
I would like to embed an image in an XML file. I was thinking of using PIL.tostring() and put it into the imageasstring element. RGB (540, 982) HERE GOES IMAGE DATA Currently I use lxml.etree and get encoding errors when I write the image into the element. I would like the file