What the NumPy array stores when I convert a grayscale image into a NumPy array?
<p>I converted a 32 x 32 grayscale image into a NumPy array using this procedure </p>

<pre><code>image = Image.open('bn2.bmp')
nparray=np.array(image)
</code></pre>

<p>when I print the NumPy array, it prints 6 different matrices. When I printed the size of the NumPy array, it showed me 3072. I suppose that the calculation is something like 3 x 32 x 32 . But I would like to know why, what is the NumPy array storing? </p>