Interface: ImagePluginOptions

June 16, 2026 ยท View on GitHub

API


Interface: ImagePluginOptions

Defined in: src/plugins/image/index.ts:56

Properties

load?

optional load?: LoadFn

Defined in: src/plugins/image/index.ts:61

A function to resolve image data from url.

Default

loadWithFetch


fallbackSvg?

optional fallbackSvg?: 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