Function Reference
— Function File: pngwrite (filename, R, G, B, A)

Writes a png file to the disk using the Red, Green, Blue and Alpha matrices.

Data must be [0 255] or the high bytes will be lost.

See also: imwrite