help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anybody have a prgram to write a .bmp file?


From: Robert A. Macy
Subject: Re: Anybody have a prgram to write a .bmp file?
Date: Tue, 30 Jan 2007 19:08:52 -0800

just checked, this worked ok:

>> x=ones(256,1)*(0:255)/255;
>> [X,map]=gray2ind(x,256);
>> bmpwrite(X,map,"Xtest.bmp");

made a great gray scaled image the exact size of bytes. 

Just seems the color function is wonky. 

           - Robert -

On Tue, 30 Jan 2007 21:36:51 -0500
 Paul Kienzle <address@hidden> wrote:
> 
> On Jan 29, 2007, at 1:19 PM, Robert A. Macy wrote:
> 
> > I need a program that writes an r, g, b set of matrices
> > to create a .bmp file
> >
> > Anybody got one?
> 
> There is bmpwrite.m in the image toolbox on octave-forge.
> 
> - Paul
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]