cara mengubah gambar menjadi matriks di python

import matplotlib.image as image
img=image.imread('image_name.png')
print('The Shape of the image is:',img.shape)
print('The image as array is:')
print(img)
Strom Breezer