From 72fc45220c29051eca39b1d2a836dfca72118287 Mon Sep 17 00:00:00 2001 From: greg-ww Date: Fri, 19 Jul 2024 12:19:40 -0500 Subject: [PATCH] Add break after reading first exif chunk in getWebpMetadata. --- web/scripts/pnginfo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/scripts/pnginfo.js b/web/scripts/pnginfo.js index f8d261fc6..8b1b2c61c 100644 --- a/web/scripts/pnginfo.js +++ b/web/scripts/pnginfo.js @@ -134,6 +134,7 @@ export function getWebpMetadata(file) { let index = value.indexOf(':'); txt_chunks[value.slice(0, index)] = value.slice(index + 1); } + break; } offset += 8 + chunk_length;