imread

imread(filepath) reads a PNG file from filepath and returns a n x m x 3 matrix where n is the height and m is the width in pixels of the original PNG file. The three additional dimensions store respectively R, G and B identifiers for each pixel.

See also

imwrite