[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: |
Carnë Draug |
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 13:11:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.8.0 |
Follow-up Comment #5, bug #45565 (project octave):
Actually, if you enable ImageJ's SCIFIO2, or use the bioformats importer, then
ImageJ will open the file.
However, you can use the following which works fine in ImageJ, even when using
plain ImageJ 1.
octave> a = repmat (uint8 (0:255), 100, 1);
octave> img = uint8 (ones (100, 1) .* [0:255]);
octave> map = rainbow (256);
octave> imwrite (ind2rgb (img, map), "foo.bmp");
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45565>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/16
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/16
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Mike Miller, 2015/07/16
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Carnë Draug, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image,
Carnë Draug <=
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Mike Miller, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Carnë Draug, 2015/07/17
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Carnë Draug, 2015/07/20
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/20
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Mike Miller, 2015/07/20
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Ian Journeaux, 2015/07/20
- [Octave-bug-tracker] [bug #45565] Using imwrite to write an 8-bit iamge to BMP creates a 24 bit image, Mike Miller, 2015/07/24