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

Function downloadImagesZip

src/parsers/imageZipExport.ts:85–93  ·  view source on GitHub ↗
(
  imageNames: string[],
  fetchImage: ImageFetchFunction,
  options: ImageZipExportOptions,
  onProgress?: ImageZipProgressCallback
)

Source from the content-addressed store, hash-verified

83}
84
85export async function downloadImagesZip(
86 imageNames: string[],
87 fetchImage: ImageFetchFunction,
88 options: ImageZipExportOptions,
89 onProgress?: ImageZipProgressCallback
90): Promise<void> {
91 const blob = await exportImagesZip(imageNames, fetchImage, options, onProgress);
92 downloadBlob(blob, 'images.zip');
93}

Callers 1

Calls 2

downloadBlobFunction · 0.90
exportImagesZipFunction · 0.85

Tested by

no test coverage detected