mpl.image.fromarray()

mpl.image.fromarray(A, isoutput)

Load the image from a numpy array By default this function fills the input buffer, which can subsequently be resampled using resize. If isoutput=1, fill the output buffer. This is used to support raw pixel images w/o resampling