Mercurial > hg > octave-jordi
diff scripts/image/saveimage.m @ 1887:5d29638dd524
[project @ 1996-02-06 15:41:33 by jwe]
author | jwe |
---|---|
date | Tue, 06 Feb 1996 15:49:10 +0000 (1996-02-06) |
parents | 1c5311a0c06f |
children | 5cffc4b8de57 |
line wrap: on
line diff
--- a/scripts/image/saveimage.m +++ b/scripts/image/saveimage.m @@ -1,4 +1,4 @@ -# Copyright (C) 1995 John W. Eaton +# Copyright (C) 1996 John W. Eaton # # This file is part of Octave. # @@ -112,7 +112,7 @@ # Convert to another format if requested. - grey = all (map(:,1) == map(:,2) && map(:,1) == map (:,3)) + grey = all (map(:,1) == map(:,2) && map(:,1) == map (:,3)); pbm = pgm = ppm = 0; @@ -197,7 +197,7 @@ tmp(img_idx--) = tmap(img); map_idx = map_idx - map_nr; - tmap = map(map_idx,:); + tmap = map(map_idx); tmp(img_idx--) = tmap(img); map_idx = map_idx - map_nr;