[Magick-bugs] identify and -ping

Ilya Zakharevich nospam-abuse at ilyaz.org
Fri Mar 20 15:58:16 PDT 2009


Version: ImageMagick 6.5.0-0 2009-03-15 Q16 http://www.imagemagick.org

 [I see that `identify' now does not try to decode the whole image.  Thanks!]

I'm trying to get an intermediate level of verbosity: those fields of
`identify -verbose' output which do not require decoding of the
image's pixmap.  I discovered -ping in
  http://www.imagemagick.org/Usage/basics/#controls.

However, it looks like `identify -ping' is synonymous with
`identify'.  And `identify -verbose -ping' produces junk.  Below is
beginnings of 2 outputs: `identify -verbose -ping' vs `identify
-verbose'; note differneces in resolution, type, depth, channel
stats...  And `-verbose -ping', while quickier than `-verbose', still
take orders of magnitude more time than no-options `identify'...

So my question is: can -ping be made much quickier (so it does not
read pixmap), and omit as many fields of `-verbose' output as
possible?

Thanks,
Ilya

======================================================= -ping
Image: crop-small.png
  Format: PNG (Portable Network Graphics)
  Class: DirectClass
  Geometry: 39x45+0+0
  Resolution: 141.73x141.73
  Print size: 0.275171x0.317505
  Units: PixelsPerCentimeter
  Type: Bilevel
  Base type: Bilevel
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8/1-bit
  Channel depth:
    gray: 16-bit
  Channel statistics:
    gray:
      min: 0 (0)
      max: 223 (0.87451)
      mean: 19.7274 (0.0773625)
      standard deviation: 56.5211 (0.221651)
      kurtosis: 5.61659
      skewness: 2.70659
=======================================================
Image: crop-small.png
  Format: PNG (Portable Network Graphics)
  Class: DirectClass
  Geometry: 39x45+0+0
  Resolution: 360x360
  Print size: 0.108333x0.125
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    red:
      min: 12 (0.0470588)
      max: 211 (0.827451)
      mean: 119.164 (0.467308)
      standard deviation: 53.8627 (0.211226)
      kurtosis: -1.10844
      skewness: 0.442564
=======================================================



More information about the Magick-bugs mailing list