Skip to content

Commit

Permalink
Drop extended format description for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoarrais committed May 7, 2011
1 parent a92a9b6 commit 688f126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imagemagick.js
Expand Up @@ -128,6 +128,7 @@ exports.identify = function(pathOrArgs, callback) {
result = parseIdentify(stdout);
geometry = result['geometry'].split(/x/);

result.format = result.format.match(/\S*/)[0]
result.width = parseInt(geometry[0]);
result.height = parseInt(geometry[1]);
result.depth = parseInt(result.depth);
Expand Down

0 comments on commit 688f126

Please sign in to comment.