title: Convert Image ( png ) To Matrix And Then To 1D Array
body: <p><br>
  I have 5 pictures and i want to convert each image to 1d array and put it in a matrix as vector.<br> I want to be able to convert each vector to image again.<br></p>
  
  <pre><code>img = Image.open('orig.png').convert('RGBA')
  a = np.array(img)
  </code></pre>
  
  <p>I'm not familiar with all the features of numpy and wondered if there other tools I can use.
  <br>
  Thanks.</p>