From c9ca72d0f3c96b6f7af1a1655482ac9e5bdf0924 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Thu, 9 May 2019 12:00:46 -0400 Subject: [PATCH] fix: #7582 --- src/image.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/image.js b/src/image.js index b1c703ef5b..af61621c23 100644 --- a/src/image.js +++ b/src/image.js @@ -92,6 +92,9 @@ image.size = function (path, callback) { }; image.stripEXIF = function (path, callback) { + if (path.endsWith('.gif')) { + return setImmediate(callback); + } async.waterfall([ function (next) { fs.readFile(path, next);