% -*- texinfo -*- % @deftypefn {Function File} bmpwrite (@var{X}, @var{map}, @var{file}) % Write the bitmap @var{X} into @var{file} (8-bit indexed uncompressed). % The values in @var{X} are indices into the given RGB colour @var{map}. % @deftypefnx{Function File} bmpwrite (@var{X}, @var{file}) % Write the bitmap @var{X} into @var{file} (24-bit truecolor uncompressed). % @var{X} is an m x n x 3 array of R,G,B integer values in the range 0 to 255. % @end deftypefn