imagemagick-identify-parser

imagemagick-identify-parser JS library on GitHub imagemagick-identify-parser JS library on npm Download imagemagick-identify-parser JS library

Parses output from the `identify` program into an object.

Version 0.0.3
imagemagick-identify-parser has no homepage
imagemagick-identify-parser JS library on GitHub
imagemagick-identify-parser JS library on npm
Download imagemagick-identify-parser JS library
Keywords
imagemagickmagickparserverbose

ImageMagick Identify Parser

Parses verbose output from the identify program into an object.

Example

var im = require('imagemagick');
var imParse = require('imagemagick-identify-parser');

im.identify(['-verbose', '/path/to/image.png'], function(e, result) {

  var data = imParse(result, true);

  console.log(data.geometry);
  // 480x360+0+0
  
  console.log(data.channelStatistics.red.standardDeviation);
  // 60.4782 (0.237169)
});