Biblioteca de imágenes de Python: AttributeError: el objeto 'NoneType' no tiene atributo XXX

Abrí una foto con PIL, pero cuando intenté usarsplit() Para dividir los canales conseguí el siguiente error:AttributeError: 'NoneType' object has no attribute 'bands'

import Image
img = Image.open('IMG_0007.jpg')

img.split()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/home/blum/<ipython console> in <module>()

/usr/lib/python2.6/dist-packages/PIL/Image.pyc in split(self)
   1495         "Split image into bands"
   1496 
-> 1497         if self.im.bands == 1:
   1498             ims = [self.copy()]
   1499         else:

AttributeError: 'NoneType' object has no attribute 'bands'

Respuestas a la pregunta(2)

Su respuesta a la pregunta