title: PIL: How to reopen an image after verifying?
body: <p>I need open an image, verify the image, then reopen it (see last sentence of below quote from PIL docs)</p>
  
  <blockquote>
    <p>im.verify()</p>
    
    <p>Attempts to determine if the file is broken, without actually decoding
    the image data. If this method finds any problems, it raises suitable
    exceptions. This method only works on a newly opened image; if the
    image has already been loaded, the result is undefined. Also, if you
    need to load the image after using this method, you must reopen the
    image file.</p>
  </blockquote>
  
  <p>This is what I have in my code, where <code>picture</code> is a django InMemoryUploadedFile object:</p>
  
  <pre><code>img = Image.open(picture)
  img.verify()
  img = Image.open(picture)
  </code></pre>
  
  <p>The first two lines work fine, but I get the following error for the third line (where I'm attempting to "reopen" the image):</p>
  
  <p><code>IOError: cannot identify image file</code></p>
  
  <p>What is the proper way to reopen the image file, as the docs suggest?</p>