From f478adac2f03a8ea4b74d3fc2262904108a3e08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 24 Dec 2024 11:59:51 -0500 Subject: [PATCH] fix: dont stripEXIF from gifs --- src/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.js b/src/image.js index 6c0ae9e68a..06e3f2d76d 100644 --- a/src/image.js +++ b/src/image.js @@ -103,7 +103,7 @@ image.size = async function (path) { }; image.stripEXIF = async function (path) { - if (!meta.config.stripEXIFData || path.endsWith('.svg')) { + if (!meta.config.stripEXIFData || path.endsWith('.gif') || path.endsWith('.svg')) { return; } try {