<div>Hello All,</div><div><br></div><div>Interesting, with a freshly opened tiff, I can&#39;t call split until I do something else.  I found that I can call .getdata and then split works.<br>What is the correct pattern?</div>
<div><br></div><div><br></div><div>In [28]: green.split()</div><div>---------------------------------------------------------------------------</div><div>AttributeError                            Traceback (most recent call last)</div>
<div><br></div><div>.../lib/python2.6/site-packages/PIL/Image.pyc in split(self)</div><div>   1495         &quot;Split image into bands&quot;</div><div>   1496 </div><div>-&gt; 1497         if self.im.bands == 1:</div><div>
   1498             ims = [self.copy()]</div><div>   1499         else:</div><div><br></div><div>AttributeError: &#39;NoneType&#39; object has no attribute &#39;bands&#39;</div><div><br></div><div>In [29]: green.getdata()</div>
<div>Out[29]: &lt;ImagingCore object at 0x100429950&gt;</div><div><br></div><div>In [30]: green.split()</div><div>Out[30]: </div><div>(&lt;PIL.Image.Image image mode=L size=512x512 at 0x102D54560&gt;,</div><div> &lt;PIL.Image.Image image mode=L size=512x512 at 0x102D56638&gt;,</div>
<div> &lt;PIL.Image.Image image mode=L size=512x512 at 0x102D56758&gt;)</div><div><br></div><div><br></div><div>Skylar</div>