help-octave
[Top][All Lists]
Advanced

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

imread fails to open 8-bits BMP (2.9.6)


From: Matthieu
Subject: imread fails to open 8-bits BMP (2.9.6)
Date: Wed, 23 Aug 2006 12:32:39 +0200
User-agent: Mozilla Thunderbird 1.0.6-7.5.20060mdk (X11/20050322)



hi,

i use octave 2.9.6 with the latest octave-forge (compiled with Gcc 4).
everything is fine with jpg,png.... format
but imread fails to open gray pictures in bmp format:

"imread: invalid image depth".

In the new imread.m, image depth is given by a
grep on identify command :

identify -verbose %s | grep -e "Red: " -e Type

but this command fails on gray picture, because the field "Red" returned by
"identify" is empty :

    "" Colorspace: Gray
 Channel depth:
   Gray: 8-bits
 Channel statistics:
   Red:
""
Any ideas?


Thanks!
--
Matthieu Debailleul,




reply via email to

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