I have a plot obtained by a 128 x 128 image, realized with the library matplotlib.pyplot. The plot was saved as png with total dimension (480,640,4). How i convert the data of image (128 x 18) in a numpy array (128 x 128)?
question from:https://stackoverflow.com/questions/65943115/convert-a-plot-in-a-numpy-array