ImageMagick "identify -verbose" Option

Q

What is the ImageMagick "identify -verbose" command option? How can I use it?

✍: FYIcenter.com

A

The ImageMagick "identify -verbose" command option returns detailed information about the image file. For example:

1. Go download a picture in .jpg format and save it as test.jpg.

2. Open a command line window.

3. Run "identify -verbose test.jpg" command. It will return something like:

C:\fyicenter>identify -verbose test.jpg
Image: test.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: DirectClass
  Geometry: 2592x1944+0+0
  Resolution: 72x72
  Print size: 36x27
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    Red:
      min: 0 (0)
      max: 242 (0.94902)
      mean: 122.905 (0.481981)
      standard deviation: 35.0133 (0.137307)
      kurtosis: 3.84659
      skewness: -1.79589
    Green:
      min: 0 (0)
      max: 250 (0.980392)
      mean: 127.392 (0.499577)
      standard deviation: 37.4133 (0.146719)
      kurtosis: 2.68475
      skewness: -1.39654
    Blue:
      min: 0 (0)
      max: 255 (1)
      mean: 126.843 (0.497424)
      standard deviation: 36.7627 (0.144167)
      kurtosis: 2.43615
      skewness: -1.24818
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 125.713 (0.492994)
      standard deviation: 36.4105 (0.142786)
      kurtosis: 2.98257
      skewness: -1.45674
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 2592x1944+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 95
  Orientation: Undefined
  Properties:
    date:create: 2013-04-01T20:28:43-05:00
    date:modify: 2013-04-01T14:55:48-04:00
    exif:ApertureValue: 3/1
    exif:BrightnessValue: 16/1
    exif:ColorSpace: 1
    exif:ComponentsConfiguration: 0, 3, 2, 1
    exif:CompressedBitsPerPixel: 0/1
    exif:Compression: 6
    exif:Contrast: 0
    exif:CustomRendered: 1
    exif:DateTime: 2013-04-01 15:55:47
    exif:DateTimeDigitized: 2013-04-01 15:55:47
    exif:DateTimeOriginal: 2013-04-01 15:55:47
    exif:DigitalZoomRatio: 65536/65535
    exif:ExifOffset: 634
    exif:ExifVersion: 48, 50, 50, 48
    exif:ExposureBiasValue: 0/0
    exif:ExposureIndex: 0/0
    exif:ExposureMode: 0
    exif:ExposureProgram: 0
    exif:ExposureTime: 33332/1000000
    exif:Flash: 16
    exif:FlashEnergy: 1800/1
    exif:FlashPixVersion: 48, 49, 48, 48
    exif:FNumber: 28/10
    exif:FocalLength: 4600/1000
    exif:GainControl: 256
    exif:GPSDateStamp: 2013:04:01
    exif:GPSInfo: 1474
    exif:GPSTimeStamp: 19/1, 55/1, 47/1
    exif:ImageLength: 120
    exif:ImageWidth: 160
    exif:ISOSpeedRatings: 229, 0, 0
    exif:JPEGInterchangeFormat: 2277
    exif:JPEGInterchangeFormatLength: 11841
    exif:LightSource: 9
    exif:Make: ABC Electronics
    exif:MaxApertureValue: 3/1
    exif:MeteringMode: 1
    exif:Model: ABC-4600
    exif:Orientation: 0
    exif:ResolutionUnit: 2
    exif:Saturation: 0
    exif:SceneCaptureType: 0
    exif:SceneType: 0
    exif:Sharpness: 0
    exif:ShutterSpeedValue: 6/1
    exif:SubjectDistance: 0/1
    exif:SubjectDistanceRange: 0
    exif:SubSecTime: 
    exif:SubSecTimeDigitized: 
    exif:SubSecTimeOriginal: 
    exif:WhiteBalance: 0
    exif:XResolution: 72/1
    exif:YCbCrPositioning: 1
    exif:YResolution: 72/1
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: 00dadc4cb12eefb5e98f2d16c6d2092661944ec5a979ea830fb2d04baefe8f81
  Profiles:
    Profile-exif: 17833 bytes
  Artifacts:
    filename: test.jpg
    verbose: true
  Tainted: False
  Filesize: 1.473MB
  Number pixels: 5.039M
  Pixels per second: 29.82MB
  User time: 0.156u
  Elapsed time: 0:01.169

2013-11-14, 5044🔥, 0💬