mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 16:17:03 +08:00
Add break after reading first exif chunk in getWebpMetadata.
This commit is contained in:
parent
4d3db79efa
commit
72fc45220c
@ -134,6 +134,7 @@ export function getWebpMetadata(file) {
|
|||||||
let index = value.indexOf(':');
|
let index = value.indexOf(':');
|
||||||
txt_chunks[value.slice(0, index)] = value.slice(index + 1);
|
txt_chunks[value.slice(0, index)] = value.slice(index + 1);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
offset += 8 + chunk_length;
|
offset += 8 + chunk_length;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user