[Pkg-octave-devel] Bug#517903: octave-image: imread / identify parsing

Christophe Rhodes csr21 at cantab.net
Mon Mar 2 13:07:59 UTC 2009


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).
-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave-image depends on:
ii  graphicsmagick-imagema 1.1.11-3.2        image processing tools providing I
ii  libatlas3gf-base [libl 3.6.0-22          Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so 1.2-2             Basic Linear Algebra Subroutines 3
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libfftw3-3             3.1.2-3.1         library for computing Fast Fourier
ii  libgcc1                1:4.3.2-1.1       GCC support library
ii  libgfortran3           4.3.2-1.1         Runtime library for GNU Fortran ap
ii  libhdf5-serial-1.6.6-0 1.6.6-4           Hierarchical Data Format 5 (HDF5) 
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libncurses5            5.7+20081213-1    shared libraries for terminal hand
ii  libpng12-0             1.2.27-2          PNG library - runtime
ii  libreadline5           5.2-3.1           GNU readline and history libraries
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  octave3.0              1:3.0.1-6lenny3   GNU Octave language for numerical 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

octave-image recommends no packages.

octave-image suggests no packages.

-- no debconf information





More information about the Pkg-octave-devel mailing list