[Pkg-gmagick-im-team] Bug#656942: imagemagick: identify -verbose reports incorrect Class (correct w/o -verbose)

Jason Woofenden jason at jasonwoof.com
Mon Jan 23 00:38:31 UTC 2012

Package: imagemagick
Version: 8:
Severity: normal


First thanks for helping to bring me imagemagick, dunno what I'd do
without it.

I found an odd bug in identify today. I was looking through a lot
of images to see which ones had a palette.

I was pretty sure that PseudoClass meant it had a palette and
DirectClass meant that it didn't. But wanted to be sure, so I was
looking at the output of identify -verbose, and found that (unlike
running identify without the -verbose flag) it reported all my
images as being DirectClass.

Attached is as image with which I can reproduce this behavior every

$ identify rock48.png | grep Class 
rock48.png PNG 20x20 20x20+0+0 8-bit PseudoClass 178c 981B 0.000u 0:00.000
$ identify -verbose rock48.png | grep Class 
  Class: DirectClass

Oops! should be:

  Class: PseudoClass

Thank you.

        - Jason

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  libbz2-1.0      1.0.6-1
ii  libc6           2.13-24
ii  libfontconfig1  2.8.0-3.1
ii  libfreetype6    2.4.8-1
ii  libglib2.0-0    2.30.2-5
ii  libgomp1        4.6.2-12
ii  libice6         2:1.0.7-2
ii  libjpeg8        8c-2
ii  liblcms1        1.19.dfsg-1+b1
ii  liblqr-1-0      0.4.1-1.1
ii  libltdl7        2.4.2-1
ii  libmagickcore4  8:
ii  libmagickwand4  8:
ii  libsm6          2:1.2.0-2
ii  libtiff4        3.9.5-2
ii  libx11-6        2:1.4.4-4
ii  libxext6        2:1.3.0-3
ii  libxt6          1:1.1.1-2
ii  zlib1g          1:

Versions of packages imagemagick recommends:
ii  ghostscript           9.04~dfsg-3
ii  libmagickcore4-extra  8:
ii  netpbm                2:10.0-15
ii  ufraw-batch           0.18-1.1

Versions of packages imagemagick suggests:
ii  autotrace                            <none>
ii  cups-bsd [lpr]                       1.5.0-15
ii  curl                                 7.23.1-3
ii  enscript                             <none>
ii  ffmpeg                               4:0.8~beta2-3
ii  gimp                                 2.6.11-8
ii  gnuplot                              <none>
ii  grads                                <none>
ii  groff-base                           1.21-6
ii  hp2xx                                <none>
ii  html2ps                              <none>
ii  imagemagick-doc                      <none>
ii  libwmf-bin                 
ii  mplayer                              2:1.0~rc4.dfsg1+svn34540-1
ii  povray                               <none>
ii  radiance                             <none>
ii  sane-utils                           1.0.22-7
ii  texlive-binaries [texlive-base-bin]  2009-11
ii  transfig                             <none>
ii  xdg-utils                            1.1.0~rc1+git20111210-5

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rock48.png
Type: image/png
Size: 981 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20120122/2b10a88b/attachment.png>

More information about the Pkg-gmagick-im-team mailing list