Add ExifTool worker and Pinia store for off-thread metadata reads.

Warm up WASM in a dedicated worker with a tiny JPEG probe and expose init/read RPC to the main thread.
This commit is contained in:
2026-10-15 17:18:21 +02:00
parent 321c67fa3d
commit b47c5c7696
7 changed files with 240 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
export function base64ToBytes(base64: string): Uint8Array {
const binary = atob(base64);
const bytes = new Uint8Array(binary.length);
for (let i = 0; i < binary.length; i++) {
bytes[i] = binary.charCodeAt(i);
}
return bytes;
}