I'm trying to open a 12-band tiff (it stores 1 temperature image for each month of the year) using this code:
>>> from PIL import Image
>>> im = Image.open('a_image.tif')
I'm basing my procedure on this post: Working with TIFFs (import, export) in Python using numpy
However, i get the error: IOError: cannot identify image file
. I've checked my path and file names. What might be causing the problem? Is it a Windows OS issue or a multiband tiff issue?