Permalink
Browse files

Drop extended format description for backwards compatibility

  • Loading branch information...
1 parent a92a9b6 commit 688f126e0ee767b42808f9e7f4789155820e8362 @thiagoarrais thiagoarrais committed May 7, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 imagemagick.js
View
@@ -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);

0 comments on commit 688f126

Please sign in to comment.