MCPcopy Create free account
hub / github.com/TruthHun/BookStack / findEmbeddedImageFile

Function findEmbeddedImageFile

static/word2md/mammoth.browser.js:1254–1260  ·  view source on GitHub ↗
(relationshipId)

Source from the content-addressed store, hash-verified

1252 }
1253
1254 function findEmbeddedImageFile(relationshipId) {
1255 var path = uris.uriToZipEntryName("word", relationships.findTargetByRelationshipId(relationshipId));
1256 return {
1257 path: path,
1258 read: docxFile.read.bind(docxFile, path)
1259 };
1260 }
1261
1262 function readImage(imageFile, altText) {
1263 var contentType = contentTypes.findContentType(imageFile.path);

Callers 2

findBlipImageFileFunction · 0.70
readImageDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected