pptxtojson 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/pptxtojson.js +1 -1
package/package.json
CHANGED
package/src/pptxtojson.js
CHANGED
|
@@ -1064,7 +1064,7 @@ async function getPicFill(type, node, warpObj) {
|
|
|
1064
1064
|
|
|
1065
1065
|
const imgArrayBuffer = await warpObj['zip'].file(imgPath).async('arraybuffer')
|
|
1066
1066
|
const imgMimeType = getMimeType(imgExt)
|
|
1067
|
-
img =
|
|
1067
|
+
img = `data:${imgMimeType};base64,${base64ArrayBuffer(imgArrayBuffer)}`
|
|
1068
1068
|
}
|
|
1069
1069
|
return img
|
|
1070
1070
|
}
|