From graphics-request at octave dot org Mon Aug 2 05:05:32 2004 Subject: BMP save. From: Muthiah Annamalai To: octave-graphics at octave dot org, octave-gtk-devel@lists.sourceforge.net Date: Mon, 2 Aug 2004 15:20:25 +0530 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)