I'm trying to save an image created from two arrays (I'm using numpy and PIL):<br><br><br>n=(b4a-b3a)/(b4a+b3a);<br>ndvi = Image.fromarray(n)<br>ndvi.save("F:\Fire_scar_mapping\ILS3\ndvi_test","TIFF")<br>
<br>...........but I get the following error message:<br><br>IOError: [Errno 22] invalid mode ('wb') or filename: 'F:\\Fire_scar_mapping\\ILS3\ndt'<br><br>Could anybody tell me what I'm doing wrong?<br>