Interface: ImagePluginOptions
June 16, 2026 ยท View on GitHub
Interface: ImagePluginOptions
Defined in: src/plugins/image/index.ts:56
Properties
load?
optionalload?:LoadFn
Defined in: src/plugins/image/index.ts:61
A function to resolve image data from url.
Default
loadWithFetch
fallbackSvg?
optionalfallbackSvg?:SvgToPngFn
Defined in: src/plugins/image/index.ts:66
A function to convert SVG to PNG. According to the docx specifications, embedding SVG images also requires including PNG.
Default
browserSvgToPng, which handles conversion only on browser