help-octave
[Top][All Lists]
Advanced

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

Re: Update to Octave 4.0 for Windows


From: ijourneaux
Subject: Re: Update to Octave 4.0 for Windows
Date: Sun, 16 Aug 2015 20:27:32 -0700 (PDT)

I successfully compiled Octave 4.1.0+ so I could test out the fix to writing
8-bit BMP files.

octave> img = uint8 (ones (100, 1) .* [0:255]); 
octave> map = gray(256); 
octave> imwrite (img, map, "foo-octave.bmp"); 

seem to work as expected. but

octave> img = uint8 (ones (100, 1) .* [0:255]);  
octave> imwrite (img, "foo-octave.bmp"); 

Still generates a 24bit bmp.

I think the default behavior in matlab for the second example is to create
an eight bit bmp file 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Update-to-Octave-4-0-for-Windows-tp4672018p4672142.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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