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