[Pkg-octave-devel] Bug#517903: Bug#517903: octave-image: imread / identify parsing
Thomas Weber
thomas.weber.mail at gmail.com
Sun Apr 12 20:16:55 UTC 2009
package: octave-image
tags 517903 moreinfo
thanks
On Mon, Mar 02, 2009 at 01:07:59PM +0000, Christophe Rhodes wrote:
> Package: octave-image
> Version: 1.0.6-3
> Severity: normal
>
>
> The imread function calls imagemagick/graphicsmagick identify to work
> out what kind of image it has (unless the filename it is given has a
> JPEG or PNG extension). It seems to look for a string of the form
> "NN?-bit" with the line
> depth = re_grab("([[:digit:]]{1,2})-bit", ident);
> but that matches nothing in identify's output on my system:
>
> csr21 at omega:~$ identify -verbose /tmp/pastedGraphic.png | grep -e bit -e
> Type Type: true color
> Depth: 8 bits-per-pixel component
> Red: 8 bits
> Green: 8 bits
> Blue: 8 bits
>
> (This means that attempting to read images of format other than jpeg or
> png fails).
Could you attach this image? I've tried with various color images and I
only get "bit" without ans "s".
Thanks
Thomas
More information about the Pkg-octave-devel
mailing list