Comment convertir une image en matrice en 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