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

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

[Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produce


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp
Date: Mon, 24 Aug 2015 21:42:50 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36

Follow-up Comment #5, bug #45779 (project octave):

Checking BMP format in Wikipedia
([https://en.wikipedia.org/wiki/BMP_file_format]) shows that 
there us no option for an 8 bit image to be without color table,
unless it is stored as 24 bit image. So, there are two options to save eight
bit image
1. As 24 bit image (RGB image with three identical bands)
2. As 8 bit image with color map.

What does Matlab do when there is an eight bit image, but there is
no specific request for a map? 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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