Page 1 of 1

identify -verbose reports incorrect Class (correct w/o -verb

Posted: 2012-03-02T02:33:41-07:00
by broucaries
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656942

It seems that the output of identity change if -v flags was given see original thread.

Please fix or at least document under man page (least surprise).

Thanks

Bastien

Re: identify -verbose reports incorrect Class (correct w/o -

Posted: 2012-03-02T06:05:51-07:00
by magick
The user should check the image type for a reliable method of determining the type of image. For rock48.png we get the expected results:
  • -> identify -verbose rock48.png | more
    Image: rock48.png
    Format: PNG (Portable Network Graphics)
    Class: DirectClass
    Geometry: 20x20+0+0
    Resolution: 72x72
    Print size: 0.277778x0.277778
    Units: Undefined
    Type: PaletteMatte
    Endianess: Undefined
    Colorspace: sRGB
    Depth: 8-bit
    ...

Re: identify -verbose reports incorrect Class (correct w/o -

Posted: 2012-03-02T06:38:21-07:00
by broucaries
The problem is the difference between -verbose class and without verbose. Least surprise will direct to be the same.

bastien

Re: identify -verbose reports incorrect Class (correct w/o -

Posted: 2012-03-02T07:14:41-07:00
by magick
It looks like a problem with the PNG coder. We'll pass the problem onto the PNG developer and hopefully we'll get a patch in a day or two. Thanks.

Re: identify -verbose reports incorrect Class (correct w/o -

Posted: 2012-03-02T08:14:08-07:00
by glennrp
I have checked in a fix to SVN revision 7017 that makes the non-verbose identify output agree with the verbose (correct) output.