Pixel Array => Bitmap File

Jason B me at mylife.com
Tue Feb 27 16:42:40 EST 2007


Hi all,

I'm somewhat new to Python and I'm trying to figure out the best way to 
accomplish the following:

>From an array of pixel data in an XML file (given the format, width and 
height of the image as attributes) I must read in the data and save it off 
as a bmp file.

I've gotten the PIL and Win32 packages and it seems that using 
functionallity from each I should be able to do this, but I haven't yet 
figured out how.

Scouring the internet for a tutorial hasn't netted me anything so far, so I 
was hoping someone here could point me in the right direction...

Thanks!
J 





More information about the Python-list mailing list