Check Metadata file image menggunakan ImageMagick


Step by step :

  1. Install image magick $ sudo apt install imagemagick
  2. check metadata $ identify -verbose image.png
    Output :
     

    Image: image.png
    Format: PNG (Portable Network Graphics)
    Mime type: image/png
    Class: DirectClass
    Geometry: 1366×768+0+0
    Units: Undefined
    Type: TrueColor
    Endianess: Undefined
    Colorspace: sRGB
    Depth: 8-bit
    Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    Channel statistics:
    Pixels: 1049088
    Red:
    min: 0 (0)
    max: 255 (1)
    mean: 158.62 (0.62204)
    standard deviation: 36.8176 (0.144383)
    kurtosis: -0.256842
    skewness: -0.00384146
    entropy: 0.897097
    Green:
    min: 0 (0)
    max: 255 (1)
    mean: 39.1664 (0.153594)
    standard deviation: 30.5192 (0.119683)
    kurtosis: 26.7374
    skewness: 4.16992
    entropy: 0.773393
    Blue:
    min: 0 (0)
    max: 255 (1)
    mean: 48.4269 (0.189909)
    standard deviation: 27.7343 (0.108762)
    kurtosis: 33.5882
    skewness: 4.85108
    entropy: 0.741411
    Image statistics:
    Overall:
    min: 0 (0)
    max: 255 (1)
    mean: 82.0712 (0.321848)
    standard deviation: 31.9173 (0.125166)
    kurtosis: 35.6513
    skewness: 6.83895
    entropy: 0.803967
    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: 1366×768+0+0
    Dispose: Undefined
    Iterations: 0
    Compression: Zip
    Orientation: Undefined
    Properties:
    date:create: 2019-08-26T19:25:54+06:00
    date:modify: 2019-08-09T13:49:32+05:00
    png:IHDR.bit-depth-orig: 8
    png:IHDR.bit_depth: 8
    png:IHDR.color-type-orig: 2
    png:IHDR.color_type: 2 (Truecolor)
    png:IHDR.interlace_method: 0 (Not interlaced)
    png:IHDR.width,height: 1366, 768
    png:sRGB: intent=0 (Perceptual Intent)
    signature: 6e35d79e6896e49e6256eadeec46b4f6a4951b13e309a9c89d9235ce51a3b541
    Artifacts:
    filename: image.png
    verbose: true
    Tainted: False
    Filesize: 379KB
    Number pixels: 1.049M
    Pixels per second: 26.23MB
    User time: 0.040u
    Elapsed time: 0:01.039
    Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org

Baca Juga:  Cara Install Nginx dengan Virtual Hosts dan Certificate SSL

Di tulis oleh: