[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45779] Writing 8-bit grayscale image to bmp f
From: |
Ian Journeaux |
Subject: |
[Octave-bug-tracker] [bug #45779] Writing 8-bit grayscale image to bmp file should write an indexed image |
Date: |
Tue, 25 Aug 2015 14:56:28 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 |
Follow-up Comment #8, bug #45779 (project octave):
I see two reasons to implement this change
1. Matlab compatibility. Whether it is explicitly stated in the documentation
or not, given a uint8 array, Matlab writes a 8-bit-per-sample indexed
grayscale image. Specifying the map might be more precise but this is a place
where Matlab compatibilty would be valuable.
2. Within Octave, if you write a uint8 array using imwrite, and read the array
back in, it comes back in as an 3 channel RGB array instead of the original 1
channel array.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45779>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Ian Journeaux, 2015/08/17
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Mike Miller, 2015/08/17
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Carnë Draug, 2015/08/24
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Ian Journeaux, 2015/08/24
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Ian Journeaux, 2015/08/24
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Avinoam Kalma, 2015/08/24
- [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp, Mike Miller, 2015/08/25
- [Octave-bug-tracker] [bug #45779] Writing 8-bit grayscale image to bmp file should write an indexed image, Carnë Draug, 2015/08/25
- [Octave-bug-tracker] [bug #45779] Writing 8-bit grayscale image to bmp file should write an indexed image,
Ian Journeaux <=
- [Octave-bug-tracker] [bug #45779] Writing 8-bit grayscale image to bmp file should write an indexed image, Carnë Draug, 2015/08/25