Skip to content

Commit

Permalink
Fix GIF thumbnail generation which was offset because the image wasn'…
Browse files Browse the repository at this point in the history
…t re-paged
  • Loading branch information
rprieto committed Jun 6, 2018
1 parent 50241da commit 9191757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ exports.image = function (source, target, options, callback) {
image.resize(options.width, options.height, '^')
image.gravity('Center')
image.crop(options.width, options.height)
image.out('+repage')
} else if (options.height) {
// resize to a maximum height
image.resize(null, options.height, '>')
Expand Down

0 comments on commit 9191757

Please sign in to comment.