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

Function exportReconstructionZip

src/parsers/writers.ts:204–217  ·  view source on GitHub ↗
(
  reconstruction: Reconstruction,
  options: ZipExportOptions,
  imageFiles?: Map<string, File> | null,
  wasmReconstruction?: WasmReconstructionWrapper | null,
  onProgress?: ZipExportProgressCallback
)

Source from the content-addressed store, hash-verified

202 * @returns Blob containing the ZIP file
203 */
204export async function exportReconstructionZip(
205 reconstruction: Reconstruction,
206 options: ZipExportOptions,
207 imageFiles?: Map<string, File> | null,
208 wasmReconstruction?: WasmReconstructionWrapper | null,
209 onProgress?: ZipExportProgressCallback
210): Promise<Blob> {
211 return exportReconstructionZipFromWriters(
212 createReconstructionZipFileWriters(reconstruction, options, wasmReconstruction),
213 options,
214 imageFiles,
215 onProgress
216 );
217}
218
219/**
220 * Export reconstruction as a ZIP file and download it.

Callers 1

writers.test.tsFile · 0.90

Tested by

no test coverage detected