|
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: | Mon, 17 Aug 2015 13:31:38 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.0 |
Follow-up Comment #24, bug #45565 (project octave): Can we keep this bug report on topic? The fix that was made was to create uncompressed BMP files instead of RLE-compressed BMP files, and that is now working as you've confirmed when you specify a colormap to force the image to be an indexed image. Your additional observation that the file should be an 8-bit indexed grayscale file when the input is a uint8 was not addressed by the fix made so far. That is an additional change where it appears that Matlab is creating indexed files depending on the image type and the input matrix type. Perhaps a new bug report to keep the discussion from getting confused? There is nothing wrong with your compilation. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45565> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |