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:\\Fire_scar_mapping\\ILS3\ndt'
Could anybody tell me what I'm doing wrong?
-- http://mail.python.org/mailman/listinfo/python-list
