title: How to convert .npy(numpy) file to .png file where .npy array shape (30,256,256)?
body: <p>I want to convert .npy file to .png file </p>
  
  <pre><code>from scipy.misc import toimage, imsave
  img_array = np.load('MRNet-v1.0/train/sagittal/0003.npy')
  print(img_array.shape)
  name = "img"+str(i)+".png"
  imsave(name,img_array)
  </code></pre>
  
  <p>shape : (30,256,256)</p>
  
  <p>But getting error like </p>
  
  <p>ValueError: 'arr' does not have a suitable array shape for any mode.</p>