octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit image


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit image to BMP creates a 24-bit image
Date: Fri, 24 Jul 2015 23:01:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

Update of bug #45565 (project octave):

              Item Group:        Incorrect Result => Matlab Compatibility   
                  Status:            Works For Me => Confirmed              
                 Summary: Using imwrite to write an 8-bit iamge to BMP creates
a 24 bit image => Using imwrite to write an 8-bit image to BMP creates a
24-bit image

    _______________________________________________________

Follow-up Comment #17:

Confirmed with Matlab that imwrite creates an uncompressed 8-bit-per-pixel BMP
file when the array is of type uint8, no need to specify a colormap. Also
confirmed that Matlab creates an uncompressed 1-bit-per-pixel BMP image when
the array is logical. In both cases the file is an indexed image file with
implicit grayscale colormaps.

Updating to confirmed and Matlab compatibility.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45565>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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