title: How to display image with values [0, 1] with PIL
body: <p>I have an RGB image that has pixel values [0,1]. How do I show this as a standard RGB image using PIL?</p>
  
  <p>I have tried converting and showing the image using numpy as follows:</p>
  
  <pre><code>orig = np.array(255*norm_image)
  orig = orig.astype(int)
  orig = Image.fromarray(orig)
  orig.show()
  </code></pre>
  
  <p>However I get an error on the third line:</p>
  
  <pre><code>TypeError: Cannot handle this data type
  </code></pre>
  
  <p>What is going wrong here? </p>