On Mon, Feb 15, 2010 at 12:55 PM, fernando sedano wrote:
> I'm trying to save an image created from two arrays (I'm using numpy and
> PIL):
>
>
> n=(b4a-b3a)/(b4a+b3a);
> ndvi = Image.fromarray(n)
> ndvi.save("F:\Fire_scar_mapping\ILS3\ndvi_test","TIFF")
>
> ...but I get the following erro
I'm trying to save an image created from two arrays (I'm using numpy and
PIL):
n=(b4a-b3a)/(b4a+b3a);
ndvi = Image.fromarray(n)
ndvi.save("F:\Fire_scar_mapping\ILS3\ndvi_test","TIFF")
...but I get the following error message:
IOError: [Errno 22] invalid mode ('wb') or filename:
'F:\\Fir