Skip to content

Commit

Permalink
Resize aspect ration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Terentev committed Nov 9, 2017
1 parent 99b65fd commit 218cb00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ module.exports = function(options) {
return new Promise(function (fulfill, reject) {
Sharp(data.Body)
.resize(width, height)
.max()
.toFormat(format)
.toBuffer(function(err, outputBuffer) {
if (err) reject(err)
Expand Down

0 comments on commit 218cb00

Please sign in to comment.