diff --git a/src/image.js b/src/image.js index 7539840fde..0d6fd8c75b 100644 --- a/src/image.js +++ b/src/image.js @@ -19,7 +19,8 @@ image.resizeImage = function(path, extension, width, height, callback) { .write(path, done); } else { gm(path) - .resize(width, height) + .gravity('Center') + .crop(width, height) .write(path, done); } };