MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / downloadMasksZip

Function downloadMasksZip

src/parsers/maskZipExport.ts:61–68  ·  view source on GitHub ↗
(
  imageNames: string[],
  fetchMask: MaskFetchFunction,
  onProgress?: MaskZipProgressCallback
)

Source from the content-addressed store, hash-verified

59}
60
61export async function downloadMasksZip(
62 imageNames: string[],
63 fetchMask: MaskFetchFunction,
64 onProgress?: MaskZipProgressCallback
65): Promise<void> {
66 const blob = await exportMasksZip(imageNames, fetchMask, onProgress);
67 downloadBlob(blob, 'masks.zip');
68}

Callers 1

writers.test.tsFile · 0.85

Calls 2

downloadBlobFunction · 0.90
exportMasksZipFunction · 0.85

Tested by

no test coverage detected