Function Reference
— Loadable Function: [I, alpha] = pngread(filename)

Read a PNG file from disk.

The image is returned as a matrix of dimension MxN (for grey-level images) or MxNx3 (for colour images). The numeric type of I and alpha is uint8 for grey-level and RGB images, or logical for black-and-white images.

See also: imread