Function: loadPptxPackage()
loadPptxPackage(
input):Promise<OpcPackage>
Load a .pptx as an OpcPackage, the same package model pptx-ts/read uses, so a caller that starts here can hand the result straight to Presentation.fromPackage() without re-reading the bytes.
The input must be a real OPC package: a zip that merely contains some slide XML but no [Content_Types].xml is rejected with a PackageReadError.
Parameters
| Parameter | Type |
|---|---|
input | PptxInspectInput |
Returns
Promise<OpcPackage>