title: How to create a white image in Python?
body: <p>Upon doing my homework, I stumbled across a problem concerning Python and image manipulation. I must say, using the Image lib is not an option. So here it is</p>
  
  <pre><code>from scipy.misc import imread,imsave
  from numpy import zeros
  
  imga = zeros([100,100,3])
  h = len(imga)
  w = len(imga[0])
  
  for y in range(h):
      for x in range(w):
          imga[y,x] = [255,255,255]
  
  imsave("Result.jpg",imga)
  </code></pre>
  
  <p>I would assume it makes my picture white, but it turns it black, and I have no idea why
  It's not about the code (and I know it looks very ugly). Its just about the fact, that it is a black image.</p>