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: Ian Journeaux
Subject: [Octave-bug-tracker] [bug #45779] Writing and 8-bit image to BMP produces a 24-bit bmp
Date: Mon, 24 Aug 2015 18:49:26 +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 #4, bug #45779 (project octave):

One correction to the results below.

imwrite (randi ([0 255], 100, 100, 3, "uint8"), "without-map-rgb.bmp")

correctly produces a 24bit RGB image.


imwrite (randi ([0 255], 100, 100, 3, "uint8"), "without-map-gray.bmp")

incorrectly generates a 24bit RGB image where all three channels seem to have
the same information.

    _______________________________________________________

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]