Appearance
@shbernal/pptxgenjs / index / ImageFillProps
Interface: ImageFillProps
Defined in: core-interfaces.ts:200
Native PPTX picture (image) fill — fills a shape's interior with a bitmap (<a:blipFill>). Provide exactly one of path or data; raster formats only (PNG/JPEG/GIF/BMP/WebP). SVG is not yet supported as a fill source.
Properties
data?
optionaldata?:string
Defined in: core-interfaces.ts:204
Pre-encoded base64 data URI, e.g. 'image/png;base64,iVBOR...'.
path?
optionalpath?:string
Defined in: core-interfaces.ts:202
Image file path (Node filesystem path or URL).