Browse files

Merge branch 'detailed-identify'

  • Loading branch information...
2 parents 1b6d557 + cccaf3d commit 01d5ea1e8c531b85af6ba88253e55e0d69672454 @thiagoarrais thiagoarrais committed May 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 imagemagick.js
View
2 imagemagick.js
@@ -159,7 +159,7 @@ exports.identify = function(pathOrArgs, callback) {
result.width = parseInt(geometry[0]);
result.height = parseInt(geometry[1]);
result.depth = parseInt(result.depth);
- result.quality = parseInt(result.quality) / 100;
+ if (result.quality !== undefined) result.quality = parseInt(result.quality) / 100;
}
}
callback(err, result);

0 comments on commit 01d5ea1

Please sign in to comment.