diff --git a/imagemagick.js b/imagemagick.js index b846c0c..4fcb2b2 100644 --- a/imagemagick.js +++ b/imagemagick.js @@ -110,6 +110,9 @@ function parseIdentify(input) { for (i in lines) { currentLine = lines[i]; + if(typeof currentLine == "function"){ + continue; + } indent = currentLine.search(/\S/); if (indent >= 0) { comps = currentLine.split(': ');