title: Python: How to save rgb float image?
body: <p>I try to save RGB float image to tiff file, but i cannot find a way to do it.</p>
  
  <pre><code>from PIL import Image
  imgf = np.ones((5,5,3),dtype = np.float32)
  img_to_save = Image.fromarray(imgf) #fails..
  img_to_save.save('img.tiff')
  </code></pre>
  
  <p>Alternatively, matplotlib.pyplot imsave change my floats to ints.</p>
  
  <p>How can i do it?</p>