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

Function makeMockBlob

src/parsers/imageZipExport.test.ts:25–27  ·  view source on GitHub ↗
(data: Uint8Array, type = 'image/jpeg')

Source from the content-addressed store, hash-verified

23}
24
25function makeMockBlob(data: Uint8Array, type = 'image/jpeg'): Blob {
26 return buildReadableBinaryBlob({ contents: data, type });
27}
28
29function installImageConversionMocks() {
30 const convertOptions: Array<{ type?: string; quality?: number }> = [];

Callers 1

convertToBlobMethod · 0.85

Calls 1

buildReadableBinaryBlobFunction · 0.90

Tested by

no test coverage detected