title: PIL: converting an image with mode "I" to "RGB" results in a fully white image
body: <p>The image at the end of this question is a PNG with mode I, which stands for Indexed, as far as I can tell.</p>
  
  <p>I'm trying to create a thumbnail out of it, and save it as JPG with PIL.</p>
  
  <p>However, is I leave the <code>mode</code> alone, PIL won't let me resize it with error <code>unable to generate thumbnail: cannot write mode I as JPEG.</code></p>
  
  <p>If I convert it to <code>RGB</code>, the result will be a fully white image.</p>
  
  <p>Is there a way to fix this?</p>
  
  <p><a href="https://www.dropbox.com/s/2d1edk2iu4ixk25/NGC281.png" rel="nofollow">https://www.dropbox.com/s/2d1edk2iu4ixk25/NGC281.png</a></p>