[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32986] imread() reads .png with alpha channel
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #32986] imread() reads .png with alpha channel as an unexpected array format |
Date: |
Tue, 05 Apr 2011 16:01:03 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0 |
Follow-up Comment #2, bug #32986 (project octave):
I found another kind of strange inconsistent behavior, and have attached
'transparency_pic_gray2.png' to demonstrate this.
img = imread('transparency_pic_gray2.png');
...produces an MxN array (alpha channel is silently dropped).
[img, map, alpha] = imread('transparency_pic_gray2.png');
...produces an error message:
error: imread: invalid image file: __magick_read__: unsupported indexed image
type
error: called from:
error: C:Octave3.2.4_gcc-4.4.0shareoctave3.2.4mimageimread.m at line 74,
column 7
(file #23112)
_______________________________________________________
Additional Item Attachment:
File name: transparency_pic_gray2.png Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32986>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/