[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: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp |
Date: |
Mon, 17 Aug 2015 15:04:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0 |
Update of bug #45779 (project octave):
Status: None => Confirmed
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #1:
According to https://www.mathworks.com/help/matlab/ref/imwrite.html, Matlab
can write BMP in 1-bit, 8-bit, or 24-bit formats. I'm assuming this means if a
logical matrix is passed in, then a 1-bit image is written with a black-white
palette. And if a uint8 matrix is passed in, it is written in 8-bit indexed
format with an 8-bit grayscale palette.
Determining the image format from the input matrix type is not something that
Octave imwrite handles yet, I think.
_______________________________________________________
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 <=
- [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, 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