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: John W. Eaton
Subject: imread fails to open 8-bits BMP (2.9.6)
Date: Wed, 23 Aug 2006 09:57:32 -0400

On 23-Aug-2006, Matthieu wrote:

| 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?

This looks like it could be a bug, so maybe you should submit a
complete bug report to the address@hidden list?  It would help a lot
if you included enough information so that someone could reproduce the
problem.  Send a precise recipe for triggering the bug (the exact
sequence of commands you used) and include all the data needed (the
image that fails).  More tips on bug reporting can be found here:

  http://www.octave.org/bugs.html

jwe


reply via email to

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