imagemagick-identify-parser

0.0.3 • Public • Published

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)
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i imagemagick-identify-parser

Weekly Downloads

3

Version

0.0.3

License

none

Last publish

Collaborators

  • dandean