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

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

[Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge


From: Ian Journeaux
Subject: [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image
Date: Fri, 17 Jul 2015 14:16:53 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36

Follow-up Comment #8, bug #45565 (project octave):

Certainly. Appreciate the help.

I have uploaded 2 image a "correct" 8-bit BMP image (created by ImageJ) and
RGB image created by imwrite in Octave using

imwrite (ind2gray (a, map), "foo.bmp");

It looks like the imwrite is creating all three channels even when there is
only one.

(file #34456, file #34457)
    _______________________________________________________

Additional Item Attachment:

File name: foo 8bit.bmp                   Size:26 KB
File name: foo 24bit.bmp                  Size:75 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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