Add break after reading first exif chunk in getWebpMetadata.

This commit is contained in:
greg-ww 2024-07-19 12:19:40 -05:00
parent 4d3db79efa
commit 72fc45220c

View File

@ -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;