saving a TIFF

fernando sedano fersed at
Mon Feb 15 18:55:08 CET 2010

I'm trying to save an image created from two arrays (I'm using numpy and

ndvi = Image.fromarray(n)"F:\Fire_scar_mapping\ILS3\ndvi_test","TIFF")

...........but I get the following error message:

IOError: [Errno 22] invalid mode ('wb') or filename:

Could anybody tell me what I'm doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list