diff --git a/lib/obtain.js b/lib/obtain.js index 1ddbf00f..a983e388 100644 --- a/lib/obtain.js +++ b/lib/obtain.js @@ -29,9 +29,6 @@ }); } else if (source instanceof Buffer) { if(typeof type === 'object') { - if(!type.width && !type.height) { - throw Error("Missing width and height"); - } if(!type.width) { throw Error("Missing width"); }