Function Reference
— Function File: bmpwrite (X, map, file)

Write the bitmap X into file (8-bit indexed uncompressed). The values in X are indices into the given RGB colour map. — Function File: bmpwrite (X, file)

Write the bitmap X into file (24-bit truecolor uncompressed). X is an m x n x 3 array of R,G,B integer values in the range 0 to 255.