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
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