BMP save.

Muthiah Annamalai <[email protected]> Mon, 2 Aug 2004 15:20:25 +0530
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
Hello Folks!
Ive written a small extension to save matrices
as images in octave.

Its a simple function to save the matrix 
in the octave runtime, into a BMP file.

There is some example octave code, as well as the bmpsave.cpp
program in the site. Download compile yourself.

Please get it at
http://cybernetics.freewebspace.com/octave-gtk/examples.html#bmpsave

or follow the link in the NEWS site at
http://cybernetics.freewebspace.com/octave-gtk/


Usage:
      //for grey like images    
      bmpsave(z,"greyscale.bmp");
      
      //for colour images
      bmpsave(red,green,blue,"color-band.bmp"); 
 
Cheers
Muthu.       

Life is beautiful.
http://cybernetics.freewebspace.com

-------------------------------------------------
This mail sent through IMP(http://www.nitt.edu)